Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1431121
PropertyNameMatcher.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
504 B
Referenced Files
None
Subscribers
None
PropertyNameMatcher.php
View Options
<?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
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 20:06 (3 h, 58 s)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ec/14/0e4cbde02074719e3d01257bb468
Default Alt Text
PropertyNameMatcher.php (504 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment