Files
wp-multisite-waas/dependencies/myclabs/deep-copy/src/DeepCopy/Matcher/Doctrine/DoctrineProxyMatcher.php
2024-11-30 18:24:12 -07:00

22 lines
428 B
PHP

<?php
namespace WP_Ultimo\Dependencies\DeepCopy\Matcher\Doctrine;
use WP_Ultimo\Dependencies\DeepCopy\Matcher\Matcher;
use WP_Ultimo\Dependencies\Doctrine\Persistence\Proxy;
/**
* @final
*/
class DoctrineProxyMatcher implements Matcher
{
/**
* Matches a Doctrine Proxy class.
*
* {@inheritdoc}
*/
public function matches($object, $property)
{
return $object instanceof Proxy;
}
}