1 | <?php |
||
12 | class RuntimeInterfaceDefinition extends InterfaceDefinition |
||
13 | { |
||
14 | /** |
||
15 | * @var ReflectionClass |
||
16 | */ |
||
17 | protected $reflection; |
||
18 | |||
19 | /** |
||
20 | * @param ReflectionClass $reflection |
||
21 | */ |
||
22 | public function __construct(ReflectionClass $reflection) |
||
28 | |||
29 | /** |
||
30 | * @param Context $context |
||
31 | * @return $this |
||
32 | */ |
||
33 | public function compile(Context $context) |
||
37 | |||
38 | /** |
||
39 | * @param string $name |
||
40 | * @param boolean|false $inherit |
||
41 | * @return bool |
||
42 | */ |
||
43 | public function hasMethod($name, $inherit = false) |
||
47 | |||
48 | /** |
||
49 | * @param string $name |
||
50 | * @param bool $inherit |
||
51 | * @return bool |
||
52 | */ |
||
53 | public function hasConst($name, $inherit = false) |
||
73 | |||
74 | /** |
||
75 | * @param $name |
||
76 | * @param boolean|false $inherit |
||
77 | * @return ReflectionClassMethod |
||
78 | */ |
||
79 | public function getMethod($name, $inherit = false) |
||
83 | |||
84 | /** |
||
85 | * @param $name |
||
86 | * @param bool $inherit |
||
87 | * @return bool |
||
88 | */ |
||
89 | public function hasProperty($name, $inherit = false) |
||
93 | |||
94 | /** |
||
95 | * @return string |
||
96 | */ |
||
97 | public function getFilepath() |
||
101 | |||
102 | /** |
||
103 | * @return bool |
||
104 | */ |
||
105 | public function isAbstract() |
||
109 | } |
||
110 |