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

<?php

namespace DeepCopy\Matcher;

/**
 * @final
 */
class PropertyNameMatcher implements Matcher
{
    /**
     * @var string
     */
    private $property;

    /**
     * @param string $property Property name
     */
    public function __construct($property)
    {
        $this->property = $property;
    }

    /**
     * Matches a property by its name.
     *
     * {@inheritdoc}
     */
    public function matches($object, $property)
    {
        return $property == $this->property;
    }
}

Directory Contents

Dirs: 1 × Files: 5

Name Size Perms Modified Actions
Doctrine DIR
- drwxrwxrwx 2026-04-22 18:09:31
Edit Download
3.11 KB lrw-r--r-- 2026-04-26 08:25:17
Edit Download
213 B lrw-rw-rw- 2025-09-17 06:53:39
Edit Download
691 B lrw-rw-rw- 2025-09-17 06:53:39
Edit Download
504 B lrw-rw-rw- 2025-09-17 06:53:39
Edit Download
1.29 KB lrw-rw-rw- 2025-09-17 06:53:39
Edit Download

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