SYMBOL INDEX (231 symbols across 66 files) FILE: fixtures/f001/A.php class A (line 5) | class A method getAProp (line 9) | public function getAProp() method setAProp (line 14) | public function setAProp($prop) FILE: fixtures/f001/B.php class B (line 5) | class B extends A method getBProp (line 9) | public function getBProp() method setBProp (line 14) | public function setBProp($prop) FILE: fixtures/f002/A.php class A (line 5) | class A method getProp1 (line 10) | public function getProp1() method setProp1 (line 15) | public function setProp1($prop) method getProp2 (line 22) | public function getProp2() method setProp2 (line 27) | public function setProp2($prop) FILE: fixtures/f003/Foo.php class Foo (line 5) | class Foo method __construct (line 10) | public function __construct($name) method getProp (line 15) | public function getProp() method setProp (line 20) | public function setProp($prop) FILE: fixtures/f004/UnclonableItem.php class UnclonableItem (line 7) | class UnclonableItem method __clone (line 9) | private function __clone() FILE: fixtures/f005/Foo.php class Foo (line 5) | class Foo method __clone (line 9) | public function __clone() FILE: fixtures/f006/A.php class A (line 5) | class A method getAProp (line 10) | public function getAProp() method setAProp (line 15) | public function setAProp($prop) method __clone (line 22) | public function __clone() FILE: fixtures/f006/B.php class B (line 5) | class B method getBProp (line 10) | public function getBProp() method setBProp (line 15) | public function setBProp($prop) method __clone (line 22) | public function __clone() FILE: fixtures/f007/FooDateInterval.php class FooDateInterval (line 7) | class FooDateInterval extends DateInterval method __clone (line 11) | public function __clone() FILE: fixtures/f007/FooDateTimeZone.php class FooDateTimeZone (line 7) | class FooDateTimeZone extends DateTimeZone method __clone (line 11) | public function __clone() FILE: fixtures/f008/A.php class A (line 5) | class A method __construct (line 9) | public function __construct($foo) method getFoo (line 14) | public function getFoo() FILE: fixtures/f008/B.php class B (line 5) | class B extends A FILE: fixtures/f009/TypedObjectProperty.php class TypedObjectProperty (line 7) | class TypedObjectProperty FILE: fixtures/f009/TypedProperty.php class TypedProperty (line 5) | class TypedProperty FILE: fixtures/f011/ArrayObjectExtended.php class ArrayObjectExtended (line 7) | class ArrayObjectExtended extends ArrayObject method __construct (line 11) | public function __construct($x) FILE: fixtures/f013/A.php class A (line 8) | class A implements Proxy method __load (line 15) | public function __load(): void method __isInitialized (line 22) | public function __isInitialized(): bool FILE: fixtures/f013/B.php class B (line 8) | class B implements Proxy method __load (line 15) | public function __load(): void method __isInitialized (line 22) | public function __isInitialized(): bool method getFoo (line 27) | public function getFoo() method setFoo (line 32) | public function setFoo($foo) FILE: fixtures/f013/C.php class C (line 5) | class C method __clone (line 9) | public function __clone() FILE: fixtures/f014/ReadonlyObjectProperty.php class ReadonlyObjectProperty (line 5) | class ReadonlyObjectProperty method __construct (line 9) | public function __construct() FILE: fixtures/f014/ReadonlyScalarProperty.php class ReadonlyScalarProperty (line 5) | class ReadonlyScalarProperty method __construct (line 11) | public function __construct() FILE: src/DeepCopy/DeepCopy.php class DeepCopy (line 28) | class DeepCopy method __construct (line 63) | public function __construct($useCloneMethod = false) method skipUncloneable (line 80) | public function skipUncloneable($skipUncloneable = true) method copy (line 96) | public function copy($object) method addFilter (line 103) | public function addFilter(Filter $filter, Matcher $matcher) method prependFilter (line 111) | public function prependFilter(Filter $filter, Matcher $matcher) method addTypeFilter (line 119) | public function addTypeFilter(TypeFilter $filter, TypeMatcher $matcher) method prependTypeFilter (line 127) | public function prependTypeFilter(TypeFilter $filter, TypeMatcher $mat... method recursiveCopy (line 135) | private function recursiveCopy($var) method copyArray (line 171) | private function copyArray(array $array) method copyObject (line 189) | private function copyObject($object) method copyObjectProperty (line 233) | private function copyObjectProperty($object, ReflectionProperty $prope... method getFirstMatchedTypeFilter (line 294) | private function getFirstMatchedTypeFilter(array $filterRecords, $var) method first (line 318) | private function first(array $elements, callable $predicate) FILE: src/DeepCopy/Exception/CloneException.php class CloneException (line 7) | class CloneException extends UnexpectedValueException FILE: src/DeepCopy/Exception/PropertyException.php class PropertyException (line 7) | class PropertyException extends ReflectionException FILE: src/DeepCopy/Filter/ChainableFilter.php class ChainableFilter (line 8) | class ChainableFilter implements Filter method __construct (line 15) | public function __construct(Filter $filter) method apply (line 20) | public function apply($object, $property, $objectCopier) FILE: src/DeepCopy/Filter/Doctrine/DoctrineCollectionFilter.php class DoctrineCollectionFilter (line 11) | class DoctrineCollectionFilter implements Filter method apply (line 18) | public function apply($object, $property, $objectCopier) FILE: src/DeepCopy/Filter/Doctrine/DoctrineEmptyCollectionFilter.php class DoctrineEmptyCollectionFilter (line 12) | class DoctrineEmptyCollectionFilter implements Filter method apply (line 21) | public function apply($object, $property, $objectCopier) FILE: src/DeepCopy/Filter/Doctrine/DoctrineProxyFilter.php class DoctrineProxyFilter (line 10) | class DoctrineProxyFilter implements Filter method apply (line 18) | public function apply($object, $property, $objectCopier) FILE: src/DeepCopy/Filter/Filter.php type Filter (line 8) | interface Filter method apply (line 17) | public function apply($object, $property, $objectCopier); FILE: src/DeepCopy/Filter/KeepFilter.php class KeepFilter (line 5) | class KeepFilter implements Filter method apply (line 12) | public function apply($object, $property, $objectCopier) FILE: src/DeepCopy/Filter/ReplaceFilter.php class ReplaceFilter (line 10) | class ReplaceFilter implements Filter method __construct (line 20) | public function __construct(callable $callable) method apply (line 30) | public function apply($object, $property, $objectCopier) FILE: src/DeepCopy/Filter/SetNullFilter.php class SetNullFilter (line 10) | class SetNullFilter implements Filter method apply (line 17) | public function apply($object, $property, $objectCopier) FILE: src/DeepCopy/Matcher/Doctrine/DoctrineProxyMatcher.php class DoctrineProxyMatcher (line 11) | class DoctrineProxyMatcher implements Matcher method matches (line 18) | public function matches($object, $property) FILE: src/DeepCopy/Matcher/Matcher.php type Matcher (line 5) | interface Matcher method matches (line 13) | public function matches($object, $property); FILE: src/DeepCopy/Matcher/PropertyMatcher.php class PropertyMatcher (line 8) | class PropertyMatcher implements Matcher method __construct (line 24) | public function __construct($class, $property) method matches (line 35) | public function matches($object, $property) FILE: src/DeepCopy/Matcher/PropertyNameMatcher.php class PropertyNameMatcher (line 8) | class PropertyNameMatcher implements Matcher method __construct (line 18) | public function __construct($property) method matches (line 28) | public function matches($object, $property) FILE: src/DeepCopy/Matcher/PropertyTypeMatcher.php class PropertyTypeMatcher (line 16) | class PropertyTypeMatcher implements Matcher method __construct (line 26) | public function __construct($propertyType) method matches (line 34) | public function matches($object, $property) FILE: src/DeepCopy/Reflection/ReflectionHelper.php class ReflectionHelper (line 11) | class ReflectionHelper method getProperties (line 25) | public static function getProperties(ReflectionClass $ref) method getProperty (line 58) | public static function getProperty($object, $name) FILE: src/DeepCopy/TypeFilter/Date/DateIntervalFilter.php class DateIntervalFilter (line 13) | class DateIntervalFilter implements TypeFilter method apply (line 23) | public function apply($element) FILE: src/DeepCopy/TypeFilter/Date/DatePeriodFilter.php class DatePeriodFilter (line 11) | class DatePeriodFilter implements TypeFilter method apply (line 20) | public function apply($element) FILE: src/DeepCopy/TypeFilter/ReplaceFilter.php class ReplaceFilter (line 8) | class ReplaceFilter implements TypeFilter method __construct (line 18) | public function __construct(callable $callable) method apply (line 26) | public function apply($element) FILE: src/DeepCopy/TypeFilter/ShallowCopyFilter.php class ShallowCopyFilter (line 8) | class ShallowCopyFilter implements TypeFilter method apply (line 13) | public function apply($element) FILE: src/DeepCopy/TypeFilter/Spl/ArrayObjectFilter.php class ArrayObjectFilter (line 11) | final class ArrayObjectFilter implements TypeFilter method __construct (line 18) | public function __construct(DeepCopy $copier) method apply (line 26) | public function apply($arrayObject) FILE: src/DeepCopy/TypeFilter/Spl/SplDoublyLinkedList.php class SplDoublyLinkedList (line 8) | class SplDoublyLinkedList extends SplDoublyLinkedListFilter FILE: src/DeepCopy/TypeFilter/Spl/SplDoublyLinkedListFilter.php class SplDoublyLinkedListFilter (line 13) | class SplDoublyLinkedListFilter implements TypeFilter method __construct (line 17) | public function __construct(DeepCopy $copier) method apply (line 25) | public function apply($element) method createCopyClosure (line 34) | private function createCopyClosure() FILE: src/DeepCopy/TypeFilter/TypeFilter.php type TypeFilter (line 5) | interface TypeFilter method apply (line 12) | public function apply($element); FILE: src/DeepCopy/TypeMatcher/TypeMatcher.php class TypeMatcher (line 5) | class TypeMatcher method __construct (line 15) | public function __construct($type) method matches (line 25) | public function matches($element) FILE: src/DeepCopy/deep_copy.php function deep_copy (line 16) | function deep_copy($value, $useCloneMethod = false) FILE: tests/DeepCopyTest/DeepCopyTest.php class DeepCopyTest (line 45) | class DeepCopyTest extends TestCase method test_it_can_copy_scalar_values (line 50) | public function test_it_can_copy_scalar_values($value) method provideScalarValues (line 57) | public function provideScalarValues() method test_it_can_copy_an_array_of_scalar_values (line 69) | public function test_it_can_copy_an_array_of_scalar_values() method test_it_can_copy_an_object (line 76) | public function test_it_can_copy_an_object() method test_it_can_copy_an_array_of_objects (line 85) | public function test_it_can_copy_an_array_of_objects() method test_it_can_copy_an_object_with_scalar_properties (line 98) | public function test_it_can_copy_an_object_with_scalar_properties($obj... method provideObjectWithScalarValues (line 106) | public function provideObjectWithScalarValues() method test_it_can_copy_an_object_with_an_object_property (line 124) | public function test_it_can_copy_an_object_with_an_object_property() method test_it_copies_dynamic_properties (line 137) | public function test_it_copies_dynamic_properties() method test_it_can_copy_an_object_with_a_date_object_property (line 155) | public function test_it_can_copy_an_object_with_a_date_object_property() method test_it_skips_the_copy_for_userland_datetimezone (line 177) | public function test_it_skips_the_copy_for_userland_datetimezone() method test_it_skips_the_copy_for_userland_dateinterval (line 197) | public function test_it_skips_the_copy_for_userland_dateinterval() method test_it_copies_the_private_properties_of_the_parent_class (line 214) | public function test_it_copies_the_private_properties_of_the_parent_cl... method test_it_keeps_reference_of_the_copied_objects_when_copying_the_graph (line 228) | public function test_it_keeps_reference_of_the_copied_objects_when_cop... method test_it_can_copy_graphs_with_circular_references (line 250) | public function test_it_can_copy_graphs_with_circular_references() method test_it_can_copy_graphs_with_circular_references_with_userland_class (line 266) | public function test_it_can_copy_graphs_with_circular_references_with_... method test_it_cannot_copy_unclonable_items (line 283) | public function test_it_cannot_copy_unclonable_items() method test_it_can_skip_uncloneable_objects (line 304) | public function test_it_can_skip_uncloneable_objects() method test_it_uses_the_userland_defined_cloned_method (line 316) | public function test_it_uses_the_userland_defined_cloned_method() method test_it_only_uses_the_userland_defined_cloned_method_when_configured_to_do_so (line 325) | public function test_it_only_uses_the_userland_defined_cloned_method_w... method test_it_uses_type_filter_to_copy_objects_if_matcher_matches (line 336) | public function test_it_uses_type_filter_to_copy_objects_if_matcher_ma... method test_it_uses_filters_to_copy_object_properties_if_matcher_matches (line 357) | public function test_it_uses_filters_to_copy_object_properties_if_matc... method test_it_uses_the_first_filter_matching_for_copying_object_properties (line 377) | public function test_it_uses_the_first_filter_matching_for_copying_obj... method test_it_can_deep_copy_an_array_object (line 401) | public function test_it_can_deep_copy_an_array_object() method test_it_clones_objects_extending_array_object (line 416) | public function test_it_clones_objects_extending_array_object() method test_it_can_copy_a_SplDoublyLinkedList (line 432) | public function test_it_can_copy_a_SplDoublyLinkedList() method test_matchers_can_access_to_parent_private_properties (line 456) | public function test_matchers_can_access_to_parent_private_properties() method test_it_can_prepend_filter (line 469) | public function test_it_can_prepend_filter() method test_it_can_prepend_type_filter (line 479) | public function test_it_can_prepend_type_filter() method test_it_clones_typed_properties (line 498) | public function test_it_clones_typed_properties() method test_it_ignores_uninitialized_typed_properties (line 513) | public function test_it_ignores_uninitialized_typed_properties() method test_it_keeps_enums (line 526) | public function test_it_keeps_enums() method test_it_can_apply_two_filters_with_chainable_filter (line 538) | public function test_it_can_apply_two_filters_with_chainable_filter() method test_it_can_copy_property_after_applying_doctrine_proxy_filter_with_chainable_filter (line 551) | public function test_it_can_copy_property_after_applying_doctrine_prox... method test_it_can_copy_object_with_readonly_property (line 568) | public function test_it_can_copy_object_with_readonly_property() method assertEqualButNotSame (line 582) | private function assertEqualButNotSame($expected, $val) FILE: tests/DeepCopyTest/Filter/Doctrine/DoctrineCollectionFilterTest.php class DoctrineCollectionFilterTest (line 14) | class DoctrineCollectionFilterTest extends TestCase method test_it_copies_the_object_property_array_collection (line 16) | public function test_it_copies_the_object_property_array_collection() FILE: tests/DeepCopyTest/Filter/Doctrine/DoctrineEmptyCollectionFilterTest.php class DoctrineEmptyCollectionFilterTest (line 14) | class DoctrineEmptyCollectionFilterTest extends TestCase method test_it_sets_the_object_property_to_an_empty_doctrine_collection (line 16) | public function test_it_sets_the_object_property_to_an_empty_doctrine_... FILE: tests/DeepCopyTest/Filter/Doctrine/DoctrineProxyFilterTest.php class DoctrineProxyFilterTest (line 12) | class DoctrineProxyFilterTest extends TestCase method test_it_loads_the_doctrine_proxy (line 14) | public function test_it_loads_the_doctrine_proxy() class Foo (line 32) | class Foo method __load (line 36) | public function __load() FILE: tests/DeepCopyTest/Filter/KeepFilterTest.php class KeepFilterTest (line 12) | class KeepFilterTest extends TestCase method test_it_does_not_change_the_filtered_object_property (line 14) | public function test_it_does_not_change_the_filtered_object_property() FILE: tests/DeepCopyTest/Filter/ReplaceFilterTest.php class ReplaceFilterTest (line 12) | class ReplaceFilterTest extends TestCase method test_it_applies_the_callback_to_the_specified_property (line 17) | public function test_it_applies_the_callback_to_the_specified_property... method provideCallbacks (line 38) | public function provideCallbacks() FILE: tests/DeepCopyTest/Filter/SetNullFilterTest.php class SetNullFilterTest (line 12) | class SetNullFilterTest extends TestCase method test_it_sets_the_given_property_to_null (line 14) | public function test_it_sets_the_given_property_to_null() FILE: tests/DeepCopyTest/Matcher/Doctrine/DoctrineProxyMatcherTest.php class DoctrineProxyMatcherTest (line 14) | class DoctrineProxyMatcherTest extends TestCase method test_it_matches_the_given_objects (line 19) | public function test_it_matches_the_given_objects($object, $expected) method providePairs (line 28) | public function providePairs() class FooProxy (line 37) | class FooProxy implements Proxy method __load (line 42) | public function __load(): void method __isInitialized (line 50) | public function __isInitialized(): bool FILE: tests/DeepCopyTest/Matcher/PropertyMatcherTest.php class PropertyMatcherTest (line 11) | class PropertyMatcherTest extends TestCase method test_it_matches_the_given_objects (line 16) | public function test_it_matches_the_given_objects($object, $prop, $exp... method providePairs (line 25) | public function providePairs() class X (line 36) | class X class Y (line 42) | class Y FILE: tests/DeepCopyTest/Matcher/PropertyNameMatcherTest.php class PropertyNameMatcherTest (line 12) | class PropertyNameMatcherTest extends TestCase method test_it_matches_the_given_property (line 17) | public function test_it_matches_the_given_property($object, $prop, $ex... method providePairs (line 26) | public function providePairs() FILE: tests/DeepCopyTest/Matcher/PropertyTypeMatcherTest.php class PropertyTypeMatcherTest (line 13) | class PropertyTypeMatcherTest extends TestCase method test_it_matches_the_given_property (line 18) | public function test_it_matches_the_given_property($object, $expected) method test_it_ignores_uninitialized_typed_properties (line 30) | public function test_it_ignores_uninitialized_typed_properties() method test_it_matches_initialized_typed_properties (line 42) | public function test_it_matches_initialized_typed_properties() method providePairs (line 52) | public function providePairs() class PropertyTypeMatcherTestFixture1 (line 73) | class PropertyTypeMatcherTestFixture1 class PropertyTypeMatcherTestFixture2 (line 78) | class PropertyTypeMatcherTestFixture2 FILE: tests/DeepCopyTest/Reflection/ReflectionHelperTest.php class ReflectionHelperTest (line 14) | class ReflectionHelperTest extends TestCase method test_it_retrieves_the_object_properties (line 16) | public function test_it_retrieves_the_object_properties() method test_it_can_retrieve_an_object_property (line 44) | public function test_it_can_retrieve_an_object_property($name) method provideProperties (line 55) | public function provideProperties() method test_it_cannot_retrieve_a_non_existent_prperty (line 64) | public function test_it_cannot_retrieve_a_non_existent_prperty() class ReflectionHelperTestParent (line 73) | class ReflectionHelperTestParent class ReflectionHelperTestChild (line 88) | class ReflectionHelperTestChild extends ReflectionHelperTestParent FILE: tests/DeepCopyTest/TypeFilter/Date/DateIntervalFilterTest.php class DateIntervalFilterTest (line 12) | class DateIntervalFilterTest extends TestCase method test_it_deep_copies_a_DateInterval (line 14) | public function test_it_deep_copies_a_DateInterval() FILE: tests/DeepCopyTest/TypeFilter/Date/DatePeriodFilterTest.php class DatePeriodFilterTest (line 15) | class DatePeriodFilterTest extends TestCase method test_it_deep_copies_a_DatePeriod (line 17) | public function test_it_deep_copies_a_DatePeriod() method test_it_deep_copies_a_DatePeriod_with_exclude_start_date (line 29) | public function test_it_deep_copies_a_DatePeriod_with_exclude_start_da... method test_it_deep_copies_a_DatePeriod_with_include_end_date (line 44) | public function test_it_deep_copies_a_DatePeriod_with_include_end_date() method test_it_deep_copies_a_DatePeriod_with_end_date (line 56) | public function test_it_deep_copies_a_DatePeriod_with_end_date() FILE: tests/DeepCopyTest/TypeFilter/ReplaceFilterTest.php class ReplaceFilterTest (line 12) | class ReplaceFilterTest extends TestCase method test_it_returns_the_callback_called_with_the_given_object (line 14) | public function test_it_returns_the_callback_called_with_the_given_obj... FILE: tests/DeepCopyTest/TypeFilter/ShallowCopyFilterTest.php class ShallowCopyFilterTest (line 12) | class ShallowCopyFilterTest extends TestCase method test_it_shallow_copies_the_given_object (line 14) | public function test_it_shallow_copies_the_given_object() FILE: tests/DeepCopyTest/TypeFilter/Spl/ArrayObjectFilterTest.php class ArrayObjectFilterTest (line 17) | final class ArrayObjectFilterTest extends TestCase method setUp (line 29) | protected function setUp(): void method test_it_deep_copies_an_array_object (line 37) | public function test_it_deep_copies_an_array_object(): void FILE: tests/DeepCopyTest/TypeFilter/Spl/SplDoublyLinkedListFilterTest.php class SplDoublyLinkedListFilterTest (line 14) | class SplDoublyLinkedListFilterTest extends TestCase method test_it_deep_copies_a_doubly_linked_spl_list (line 16) | public function test_it_deep_copies_a_doubly_linked_spl_list() class FakeDeepCopy (line 32) | class FakeDeepCopy extends DeepCopy method copy (line 37) | public function copy($object) FILE: tests/DeepCopyTest/TypeMatcher/TypeMatcherTest.php class TypeMatcherTest (line 12) | class TypeMatcherTest extends TestCase method test_it_retrieves_the_object_properties (line 17) | public function test_it_retrieves_the_object_properties($type, $elemen... method provideElements (line 26) | public function provideElements() class Foo (line 40) | class Foo class Bar (line 44) | class Bar extends Foo type IA (line 48) | interface IA class A (line 52) | class A implements IA