PropertyNameMatcher
in package
implements
Matcher
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- $property : string
- __construct() : mixed
- matches() : bool
- Matches a property by its name.
Properties
$property
private
string
$property
Methods
__construct()
public
__construct(string $property) : mixed
Parameters
- $property : string
-
Property name
Return values
mixed —matches()
Matches a property by its name.
public
matches(mixed $object, mixed $property) : bool
Parameters
- $object : mixed
- $property : mixed