You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
348 B
18 lines
348 B
<?php
|
|
|
|
namespace DeepCopy\Filter;
|
|
|
|
/**
|
|
* Filter to apply to a property while copying an object
|
|
*/
|
|
interface Filter
|
|
{
|
|
/**
|
|
* Applies the filter to the object.
|
|
*
|
|
* @param object $object
|
|
* @param string $property
|
|
* @param callable $objectCopier
|
|
*/
|
|
public function apply($object, $property, $objectCopier);
|
|
}
|
|
|