Copied!
  • final
CloneableInstantiable
Methods
public __construct(callable $callable)
 
  • param callable $callable Will be called to get the new value for each property to replace
public apply( $object, $property, $objectCopier)
 

Replaces the object property by the result of the callback called with the object property.

    Properties
    protected $callback = NULL
     
    • var callable
    © 2023 Bruce Wells
    Search Namespaces \ Classes
    Configuration