| Total Complexity | 7 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class Bootstrapper |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Path to bootstrap filename. |
||
| 22 | * |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | private $file; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Bootstrapper constructor. |
||
| 29 | * |
||
| 30 | * @param string $pathToFile |
||
| 31 | */ |
||
| 32 | 6 | public function __construct(string $pathToFile = '') |
|
| 35 | 6 | } |
|
| 36 | |||
| 37 | /** |
||
| 38 | * Execute bootstrap runner. |
||
| 39 | * |
||
| 40 | * @param \phpbu\App\Configuration $configuration |
||
| 41 | * @throws \phpbu\App\Exception |
||
| 42 | */ |
||
| 43 | 4 | public function run(Configuration $configuration) |
|
| 56 |