1<?php 2 3namespace DeepCopy\Filter; 4 5/** 6 * Filter to apply to a property while copying an object 7 */ 8interface Filter 9{ 10 /** 11 * Applies the filter to the object. 12 * 13 * @param object $object 14 * @param string $property 15 * @param callable $objectCopier 16 */ 17 public function apply($object, $property, $objectCopier); 18} 19