root/trunk/src/main/php/net/stubbles/reflection/matcher/stubPropertyMatcher.php

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  * Interface for matching properties.
4  *
5  * @author      Frank Kleine <mikey@stubbles.net>
6  * @package     stubbles
7  * @subpackage  reflection_matcher
8  */
9 /**
10  * Interface for matching properties.
11  *
12  * @package     stubbles
13  * @subpackage  reflection_matcher
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 ?>
Note: See TracBrowser for help on using the browser.