Elgg  Version 2.3
Public Member Functions | List of all members
Elgg\MethodMatcher Class Reference

Identify a static/dynamic method callable, even if contains an object to which you don't have a reference. More...

Public Member Functions

 __construct ($type, $method)
 Constructor. More...
 
 matches ($subject)
 Does the given callable match the specification? More...
 

Detailed Description

Identify a static/dynamic method callable, even if contains an object to which you don't have a reference.

private

Since
1.11.0

Definition at line 10 of file MethodMatcher.php.

Constructor & Destructor Documentation

Elgg\MethodMatcher::__construct (   $type,
  $method 
)

Constructor.

Parameters
string$typeClass to match
string$methodMethod name to match

Definition at line 28 of file MethodMatcher.php.

Member Function Documentation

Elgg\MethodMatcher::matches (   $subject)

Does the given callable match the specification?

Parameters
callable$subjectCallable to test
Returns
bool

Definition at line 39 of file MethodMatcher.php.


The documentation for this class was generated from the following file: