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