|
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 stubPropertyMatcher extends stubObject |
|---|
| 16 |
{ |
|---|
| 17 |
|
|---|
| 18 |
* checks whether the matcher is satisfied with the given property |
|---|
| 19 |
* |
|---|
| 20 |
* @param ReflectionProperty $property |
|---|
| 21 |
* @return bool |
|---|
| 22 |
*/ |
|---|
| 23 |
public function matchesProperty(ReflectionProperty $property); |
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
* checks whether the matcher is satisfied with the given property |
|---|
| 27 |
* |
|---|
| 28 |
* @param stubReflectionProperty $property |
|---|
| 29 |
* @return bool |
|---|
| 30 |
*/ |
|---|
| 31 |
public function matchesAnnotatableProperty(stubReflectionProperty $property); |
|---|
| 32 |
} |
|---|
| 33 |
?> |
|---|