Page MenuHomeWickedGov Phorge

PropertyNameMatcher.php
No OneTemporary

Size
504 B
Referenced Files
None
Subscribers
None

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

File Metadata

Mime Type
text/x-php
Expires
Sat, May 16, 22:35 (1 h, 56 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ec/14/0e4cbde02074719e3d01257bb468
Default Alt Text
PropertyNameMatcher.php (504 B)

Event Timeline