@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /** |
| 3 | 3 | * Bright Nucleus View Component. |
| 4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /** |
| 3 | 3 | * Bright Nucleus View Component. |
| 4 | 4 | * |
@@ -15,35 +15,35 @@ |
||
| 15 | 15 | * Engine finder default configuration. |
| 16 | 16 | */ |
| 17 | 17 | $engineFinder = [ |
| 18 | - // Class to use for instantiating the EngineFinder implementation. |
|
| 19 | - Engine\EngineFinder::CLASS_NAME_KEY => Engine\BaseEngineFinder::class, |
|
| 20 | - // Engine implementations to register with the EngineFinder. |
|
| 21 | - Engine\EngineFinder::ENGINES_KEY => [ |
|
| 22 | - 'PHPEngine' => Engine\PHPEngine::class, |
|
| 23 | - ], |
|
| 24 | - // Null object implementation to use with the EngineFinder. |
|
| 25 | - Engine\EngineFinder::NULL_OBJECT => Engine\NullEngine::class, |
|
| 18 | + // Class to use for instantiating the EngineFinder implementation. |
|
| 19 | + Engine\EngineFinder::CLASS_NAME_KEY => Engine\BaseEngineFinder::class, |
|
| 20 | + // Engine implementations to register with the EngineFinder. |
|
| 21 | + Engine\EngineFinder::ENGINES_KEY => [ |
|
| 22 | + 'PHPEngine' => Engine\PHPEngine::class, |
|
| 23 | + ], |
|
| 24 | + // Null object implementation to use with the EngineFinder. |
|
| 25 | + Engine\EngineFinder::NULL_OBJECT => Engine\NullEngine::class, |
|
| 26 | 26 | ]; |
| 27 | 27 | |
| 28 | 28 | /* |
| 29 | 29 | * View finder default configuration. |
| 30 | 30 | */ |
| 31 | 31 | $viewFinder = [ |
| 32 | - // Class to use for instantiating the ViewFinder implementation. |
|
| 33 | - View\ViewFinder::CLASS_NAME_KEY => View\BaseViewFinder::class, |
|
| 34 | - // View implementations to register with the ViewFinder. |
|
| 35 | - View\ViewFinder::VIEWS_KEY => [ |
|
| 36 | - 'BaseView' => View\BaseView::class, |
|
| 37 | - ], |
|
| 38 | - // Null object implementation to use with the ViewFinder. |
|
| 39 | - View\ViewFinder::NULL_OBJECT => View\NullView::class, |
|
| 32 | + // Class to use for instantiating the ViewFinder implementation. |
|
| 33 | + View\ViewFinder::CLASS_NAME_KEY => View\BaseViewFinder::class, |
|
| 34 | + // View implementations to register with the ViewFinder. |
|
| 35 | + View\ViewFinder::VIEWS_KEY => [ |
|
| 36 | + 'BaseView' => View\BaseView::class, |
|
| 37 | + ], |
|
| 38 | + // Null object implementation to use with the ViewFinder. |
|
| 39 | + View\ViewFinder::NULL_OBJECT => View\NullView::class, |
|
| 40 | 40 | ]; |
| 41 | 41 | |
| 42 | 42 | return [ |
| 43 | - 'BrightNucleus' => [ |
|
| 44 | - 'View' => [ |
|
| 45 | - 'EngineFinder' => $engineFinder, |
|
| 46 | - 'ViewFinder' => $viewFinder, |
|
| 47 | - ], |
|
| 48 | - ], |
|
| 43 | + 'BrightNucleus' => [ |
|
| 44 | + 'View' => [ |
|
| 45 | + 'EngineFinder' => $engineFinder, |
|
| 46 | + 'ViewFinder' => $viewFinder, |
|
| 47 | + ], |
|
| 48 | + ], |
|
| 49 | 49 | ]; |