Total Complexity | 3 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
18 | class StringContext implements ReferenceContext |
||
19 | { |
||
20 | use ReferenceContextDefault; |
||
21 | |||
22 | public function __construct( |
||
23 | public ZendStringMemoryLocation $memory_location, |
||
24 | ) { |
||
25 | } |
||
26 | |||
27 | public function add(string $link_name, ReferenceContext $reference_context): void |
||
28 | { |
||
29 | throw new \LogicException("StringContext cannot have reference to another context"); |
||
30 | } |
||
31 | |||
32 | public function getLocations(): iterable |
||
35 | } |
||
36 | } |
||
37 |