Lines Matching refs:to

3 DeepCopy helps you create deep copies (clones) of your objects. It is designed to handle cycles in …
107 Alternatively, you can create your own `DeepCopy` instance to configure it differently for example:
117 You may want to roll your own deep copy function:
139 You can add filters to customize the copy process.
141 The method to add a filter is `DeepCopy\DeepCopy::addFilter($filter, $matcher)`,
161 // Will apply a filter to any property of any objects named "id"
173 // Will apply a filter to the property "id" of any objects of the class "MyClass"
186 // Will apply a filter to any object that is an instance of Doctrine\Common\Collections\Collection
193 - `DeepCopy\Filter` applies a transformation to the object attribute matched by `DeepCopy\Matcher`
194 - `DeepCopy\TypeFilter` applies a transformation to any element matched by `DeepCopy\TypeMatcher`
199 …ple that you are copying a database record (or a Doctrine entity), so you want the copy not to have
221 If you want a property to remain untouched (for example, an association to an object):
238 If you use Doctrine and want to copy an entity, you will need to use the `DoctrineCollectionFilter`:
254 If you use Doctrine and want to copy an entity who contains a `Collection` that you want to be rese…
275 You can use the `DoctrineProxyFilter` to load the actual entity behind the Doctrine proxy class.
276 **Make sure, though, to put this as one of your very first filters in the filter chain so that the …
295 1. If you want to replace the value of a property:
313 2. If you want to replace whole element:
359 not applied. There is two ways for you to handle them: