@@ -18,29 +18,29 @@ |
||
| 18 | 18 | */ |
| 19 | 19 | public function __construct() |
| 20 | 20 | { |
| 21 | - $this->createErrorHandler(); |
|
| 21 | + $this->createErrorHandler(); |
|
| 22 | 22 | |
| 23 | - $this->createContainer(); |
|
| 23 | + $this->createContainer(); |
|
| 24 | 24 | |
| 25 | - $this->loadEnvironment(); |
|
| 25 | + $this->loadEnvironment(); |
|
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | private function createErrorHandler() |
| 29 | - { |
|
| 30 | - $runner = new Runner(new JsonFormatter); |
|
| 31 | - $runner->register(); |
|
| 32 | - } |
|
| 29 | + { |
|
| 30 | + $runner = new Runner(new JsonFormatter); |
|
| 31 | + $runner->register(); |
|
| 32 | + } |
|
| 33 | 33 | |
| 34 | 34 | private function createContainer() |
| 35 | - { |
|
| 36 | - $container = new Container; |
|
| 37 | - $container->delegate(new ReflectionContainer); |
|
| 38 | - $this->setContainer($container); |
|
| 39 | - } |
|
| 40 | - |
|
| 41 | - private function loadEnvironment() |
|
| 42 | - { |
|
| 43 | - $environment = new Dotenv(getcwd() . '/../'); |
|
| 44 | - $environment->load(); |
|
| 45 | - } |
|
| 35 | + { |
|
| 36 | + $container = new Container; |
|
| 37 | + $container->delegate(new ReflectionContainer); |
|
| 38 | + $this->setContainer($container); |
|
| 39 | + } |
|
| 40 | + |
|
| 41 | + private function loadEnvironment() |
|
| 42 | + { |
|
| 43 | + $environment = new Dotenv(getcwd() . '/../'); |
|
| 44 | + $environment->load(); |
|
| 45 | + } |
|
| 46 | 46 | } |