mirror of
https://github.com/Karaka-Management/Resources.git
synced 2026-01-10 21:08:41 +00:00
19 lines
348 B
PHP
Executable File
19 lines
348 B
PHP
Executable File
<?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);
|
|
}
|