-
-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Description
Hi,
I have a problem with Doctrine Proxy Matcher/Filter.
I have this code (from documentation) :
$duplicate = new DeepCopy(true);
$duplicate->addFilter(new ChainableFilter(new DoctrineProxyFilter()), new DoctrineProxyMatcher());
$duplicate->addFilter(new SetNullFilter(), new PropertyNameMatcher('id'));
$object = $demande->getResponsable();
$copy = $duplicate->copy($object);
dd($copy, $object);The id is not set to null...
Have you an idea ?
Thanks
Metadata
Metadata
Assignees
Labels
No labels
