Lines Matching refs:use

47 use DeepCopy\DeepCopy;
64 You use [`__clone()`](http://www.php.net/manual/en/language.oop5.cloning.php#object.clone) and implement the behavior
94 To use it:
97 use function DeepCopy\deep_copy;
105 use DeepCopy\DeepCopy;
117 use DeepCopy\DeepCopy;
154 use DeepCopy\Matcher\PropertyNameMatcher;
166 use DeepCopy\Matcher\PropertyMatcher;
179 use DeepCopy\TypeMatcher\TypeMatcher;
198 use DeepCopy\DeepCopy;
199 use DeepCopy\Filter\SetNullFilter;
200 use DeepCopy\Matcher\PropertyNameMatcher;
219 use DeepCopy\DeepCopy;
220 use DeepCopy\Filter\KeepFilter;
221 use DeepCopy\Matcher\PropertyMatcher;
233 If you use Doctrine and want to copy an entity, you will need to use the `DoctrineCollectionFilter`:
236 use DeepCopy\DeepCopy;
237 use DeepCopy\Filter\Doctrine\DoctrineCollectionFilter;
238 use DeepCopy\Matcher\PropertyTypeMatcher;
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
253 use DeepCopy\DeepCopy;
254 use DeepCopy\Filter\Doctrine\DoctrineEmptyCollectionFilter;
255 use DeepCopy\Matcher\PropertyMatcher;
268 If you use Doctrine and use cloning on lazy loaded entities, you might encounter errors mentioning missing fields on a
270 You can use the `DoctrineProxyFilter` to load the actual entity behind the Doctrine proxy class.
275 use DeepCopy\DeepCopy;
276 use DeepCopy\Filter\Doctrine\DoctrineProxyFilter;
277 use DeepCopy\Matcher\Doctrine\DoctrineProxyMatcher;
293 use DeepCopy\DeepCopy;
294 use DeepCopy\Filter\ReplaceFilter;
295 use DeepCopy\Matcher\PropertyMatcher;
311 use DeepCopy\DeepCopy;
312 use DeepCopy\TypeFilter\ReplaceFilter;
313 use DeepCopy\TypeMatcher\TypeMatcher;
335 use DeepCopy\DeepCopy;
336 use DeepCopy\TypeFilter\ShallowCopyFilter;
337 use DeepCopy\TypeMatcher\TypeMatcher;
338 use Mockery as m;