PHP 8.3.31
Preview: DoctrineProxyMatcher.php Size: 360 B
/home/getspomw/royalsquad.us/vendor/myclabs/deep-copy/src/DeepCopy/Matcher/Doctrine/DoctrineProxyMatcher.php

<?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;
    }
}

Directory Contents

Dirs: 0 × Files: 2

Name Size Perms Modified Actions
360 B lrw-rw-rw- 2025-09-17 06:53:39
Edit Download
1.11 KB lrw-r--r-- 2026-04-26 10:08:38
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).