| 1 | <?php |
||
| 19 | final class FixtureContainer implements Container |
||
| 20 | { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var \Collections\Map |
||
| 24 | */ |
||
| 25 | private $fixtures; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param array $fixtures |
||
| 29 | */ |
||
| 30 | public function __construct(array $fixtures = []) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Get the path of fixture file |
||
| 37 | * |
||
| 38 | * @param string $name |
||
| 39 | * @return string |
||
| 40 | */ |
||
| 41 | public function get($name) |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @param string $name |
||
| 48 | * @return bool |
||
| 49 | */ |
||
| 50 | public function has($name) |
||
| 54 | |||
| 55 | } |
||
| 56 |