DoctrineProxyMatcher.php
Namespace
DeepCopy\Matcher\DoctrineFile
-
vendor/
myclabs/ deep-copy/ src/ DeepCopy/ Matcher/ Doctrine/ DoctrineProxyMatcher.php
View source
<?php
namespace DeepCopy\Matcher\Doctrine;
use DeepCopy\Matcher\Matcher;
use Doctrine\Persistence\Proxy;
/**
* @final
*/
class DoctrineProxyMatcher implements Matcher {
/**
* Matches a Doctrine Proxy class.
*
* {@inheritdoc}
*/
public function matches($object, $property) {
return $object instanceof Proxy;
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
DoctrineProxyMatcher | @final |