Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
32 | public function getBootstrap($path, $siteSelector = null) |
||
33 | { |
||
34 | if (!$this->isValid($path)) { |
||
35 | throw new \RuntimeException('Invalid path passed to getBootstrap().'); |
||
36 | } |
||
37 | $this->siteSelector = $siteSelector; |
||
38 | // Normally we would instantiate a new BootInterface and pass |
||
39 | // the $path to its constructor. |
||
40 | return $this; |
||
41 | } |
||
42 | |||
84 |