1 | <?php |
||
20 | class InputValueNode extends Rule implements ValueInterface |
||
21 | { |
||
22 | /** |
||
23 | * @return string |
||
24 | */ |
||
25 | public function toString(): string |
||
35 | |||
36 | /** |
||
37 | * @return iterable|ValueInterface[] |
||
38 | */ |
||
39 | public function toPrimitive(): iterable |
||
49 | |||
50 | /** |
||
51 | * @return iterable|ValueInterface[] |
||
52 | */ |
||
53 | public function getValues(): iterable |
||
60 | |||
61 | /** |
||
62 | * @param RuleInterface $rule |
||
63 | * @return LeafInterface |
||
64 | */ |
||
65 | private function key(RuleInterface $rule): LeafInterface |
||
72 | |||
73 | /** |
||
74 | * @param RuleInterface $rule |
||
75 | * @return ValueInterface|NodeInterface |
||
76 | */ |
||
77 | private function value(RuleInterface $rule): ValueInterface |
||
82 | } |
||
83 |
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.