1 | <?php |
||
7 | final class VersionedContainer implements ContainerInterface |
||
8 | { |
||
9 | /** |
||
10 | * @var VersionedInterface[] |
||
11 | */ |
||
12 | private $services; |
||
13 | |||
14 | 5 | public function __construct(VersionedInterface ...$services) |
|
20 | |||
21 | 6 | public function get($id): VersionedInterface |
|
29 | |||
30 | 6 | public function has($id): bool |
|
34 | } |
||
35 |