PHP 8.2.31
Preview: PropertyNameMatcher.php Size: 504 B
//opt/cpanel/ea-wappspector/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: 4

Name Size Perms Modified Actions
Doctrine DIR
- drwxr-xr-x 2025-08-01 08:46:24
Edit Download
213 B lrw-r--r-- 2025-08-01 08:46:24
Edit Download
691 B lrw-r--r-- 2025-08-01 08:46:24
Edit Download
504 B lrw-r--r-- 2025-08-01 08:46:24
Edit Download
1.34 KB lrw-r--r-- 2025-08-01 08:46:24
Edit Download

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