1 | <?php |
||
8 | class MethodValidator extends FunctionValidator |
||
9 | { |
||
10 | /** |
||
11 | * MethodValidator constructor. |
||
12 | * |
||
13 | * @param \ReflectionMethod $method |
||
14 | * A method to validate. |
||
15 | * @param string $required_class |
||
16 | * A class in a scope of which method allowed to be defined. |
||
17 | */ |
||
18 | 3 | public function __construct(\ReflectionMethod $method, string $required_class = '') |
|
28 | } |
||
29 |