Copied!

Walkable interface allows you to apply the same method to all objects with that method in the container.

Trait
Methods
public walk(string $method, ?mixed $argument = NULL) : static
 

Recursively walks all objects and calls the passed method on each object where it exists

  • param string $method to call on the object in the collection
  • param mixed $argument to pass to the method
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration