Lines Matching refs:to

3 DeepCopy helps you create deep copies (clones) of your objects. It is designed to handle cycles in the association graph.
102 Alternatively, you can create your own `DeepCopy` instance to configure it differently for example:
112 You may want to roll your own deep copy function:
134 You can add filters to customize the copy process.
136 The method to add a filter is `DeepCopy\DeepCopy::addFilter($filter, $matcher)`,
156 // Will apply a filter to any property of any objects named "id"
168 // Will apply a filter to the property "id" of any objects of the class "MyClass"
181 // Will apply a filter to any object that is an instance of Doctrine\Common\Collections\Collection
188 - `DeepCopy\Filter` applies a transformation to the object attribute matched by `DeepCopy\Matcher`
189 - `DeepCopy\TypeFilter` applies a transformation to any element matched by `DeepCopy\TypeMatcher`
194 Let's say for example that you are copying a database record (or a Doctrine entity), so you want the copy not to have
216 If you want a property to remain untouched (for example, an association to an object):
233 If you use Doctrine and want to copy an entity, you will need to use the `DoctrineCollectionFilter`:
249 If you use Doctrine and want to copy an entity who contains a `Collection` that you want to be reset, you can use the
270 You can use the `DoctrineProxyFilter` to load the actual entity behind the Doctrine proxy class.
271 **Make sure, though, to put this as one of your very first filters in the filter chain so that the entity is loaded
290 1. If you want to replace the value of a property:
308 2. If you want to replace whole element:
354 not applied. There is two ways for you to handle them: