|
Revision 1385, 0.8 kB
(checked in by mikey, 3 months ago)
|
added possibility to only retrieve properties/methods which satisfy a given matcher
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
interface stubMethodMatcher extends stubObject |
|---|
| 16 |
{ |
|---|
| 17 |
|
|---|
| 18 |
* checks whether the matcher is satisfied with the given method |
|---|
| 19 |
* |
|---|
| 20 |
* @param ReflectionMethod $method |
|---|
| 21 |
* @return bool |
|---|
| 22 |
*/ |
|---|
| 23 |
public function matchesMethod(ReflectionMethod $method); |
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
* checks whether the matcher is satisfied with the given method |
|---|
| 27 |
* |
|---|
| 28 |
* @param stubReflectionMethod $method |
|---|
| 29 |
* @return bool |
|---|
| 30 |
*/ |
|---|
| 31 |
public function matchesAnnotatableMethod(stubReflectionMethod $method); |
|---|
| 32 |
} |
|---|
| 33 |
?> |
|---|