| 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 = '') |
|
| 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) |
|
| 55 | } |
||
| 56 |