Documentation

PropertyMatcher
in package
implements Matcher

Tags
final

Table of Contents

Interfaces

Matcher

Properties

$class  : string
$property  : string

Methods

__construct()  : mixed
matches()  : bool
Matches a specific property of a specific class.

Properties

Methods

__construct()

public __construct(string $class, string $property) : mixed
Parameters
$class : string

Class name

$property : string

Property name

matches()

Matches a specific property of a specific class.

public matches(mixed $object, mixed $property) : bool
Parameters
$object : mixed
$property : mixed
Return values
bool

        
On this page

Search results