1 | <?php declare(strict_types=1); |
||
16 | final class ArrayType implements Type |
||
17 | { |
||
18 | /** @var ArrayElement[] */ |
||
19 | private $elementList; |
||
20 | |||
21 | /** |
||
22 | * @param ArrayElement[] $elementList |
||
23 | */ |
||
24 | 18 | public function __construct(array $elementList) |
|
28 | |||
29 | 5 | public function containsStringCount(string $searchTerm): int |
|
37 | |||
38 | 3 | public function replaceString(string $searchTerm, string $replaceTerm): void |
|
44 | |||
45 | 2 | public function __toString(): string |
|
49 | } |