@@ -34,57 +34,57 @@ |
||
34 | 34 | */ |
35 | 35 | class Application implements ApplicationContracts |
36 | 36 | { |
37 | - /** |
|
38 | - * The Lenevor application instance.. |
|
39 | - * |
|
40 | - * @var \Syscodes\Contracts\Container|Container $lenevor |
|
41 | - */ |
|
42 | - protected $lenevor; |
|
37 | + /** |
|
38 | + * The Lenevor application instance.. |
|
39 | + * |
|
40 | + * @var \Syscodes\Contracts\Container|Container $lenevor |
|
41 | + */ |
|
42 | + protected $lenevor; |
|
43 | 43 | |
44 | - /** |
|
45 | - * Console constructor. Initialize the console of Lenevor. |
|
46 | - * |
|
47 | - * @param \Syscodes\Contracts\Core\Lenevor $core |
|
48 | - * |
|
49 | - * @return void |
|
50 | - */ |
|
51 | - public function __construct(Container $lenevor) |
|
52 | - { |
|
53 | - // Initialize the Cli |
|
54 | - if (isCli()) { |
|
55 | - Cli::initialize(); |
|
56 | - } |
|
44 | + /** |
|
45 | + * Console constructor. Initialize the console of Lenevor. |
|
46 | + * |
|
47 | + * @param \Syscodes\Contracts\Core\Lenevor $core |
|
48 | + * |
|
49 | + * @return void |
|
50 | + */ |
|
51 | + public function __construct(Container $lenevor) |
|
52 | + { |
|
53 | + // Initialize the Cli |
|
54 | + if (isCli()) { |
|
55 | + Cli::initialize(); |
|
56 | + } |
|
57 | 57 | |
58 | - $this->lenevor = $lenevor; |
|
59 | - } |
|
58 | + $this->lenevor = $lenevor; |
|
59 | + } |
|
60 | 60 | |
61 | - /** |
|
62 | - * Runs the current command discovered on the CLI. |
|
63 | - * |
|
64 | - * @return void |
|
65 | - */ |
|
66 | - public function run() |
|
67 | - { |
|
68 | - $path = Cli::getURI(); |
|
61 | + /** |
|
62 | + * Runs the current command discovered on the CLI. |
|
63 | + * |
|
64 | + * @return void |
|
65 | + */ |
|
66 | + public function run() |
|
67 | + { |
|
68 | + $path = Cli::getURI(); |
|
69 | 69 | |
70 | 70 | |
71 | - } |
|
71 | + } |
|
72 | 72 | |
73 | - /** |
|
74 | - * Displays basic information about the Console. |
|
75 | - * |
|
76 | - * @return $this |
|
77 | - */ |
|
78 | - public function showHeader() |
|
79 | - { |
|
80 | - Cli::write(Version::PRODUCT.' ' |
|
81 | - .Cli::color(Version::RELEASE, 'cyan').' | ' |
|
82 | - .'Server Time: '.Cli::color(date('Y/m/d H:i:sa'), 'light_yellow').' | ' |
|
83 | - .cli::color('['.PHP_OS.']', 'light_purple') |
|
84 | - ); |
|
73 | + /** |
|
74 | + * Displays basic information about the Console. |
|
75 | + * |
|
76 | + * @return $this |
|
77 | + */ |
|
78 | + public function showHeader() |
|
79 | + { |
|
80 | + Cli::write(Version::PRODUCT.' ' |
|
81 | + .Cli::color(Version::RELEASE, 'cyan').' | ' |
|
82 | + .'Server Time: '.Cli::color(date('Y/m/d H:i:sa'), 'light_yellow').' | ' |
|
83 | + .cli::color('['.PHP_OS.']', 'light_purple') |
|
84 | + ); |
|
85 | 85 | |
86 | - Cli::newLine(1); |
|
86 | + Cli::newLine(1); |
|
87 | 87 | |
88 | - return $this; |
|
89 | - } |
|
88 | + return $this; |
|
89 | + } |
|
90 | 90 | } |
91 | 91 | \ No newline at end of file |
@@ -112,14 +112,14 @@ |
||
112 | 112 | } |
113 | 113 | |
114 | 114 | /** |
115 | - * Get the bootstrap classes for the application. |
|
116 | - * |
|
117 | - * @return array |
|
118 | - */ |
|
119 | - protected function bootstrappers() |
|
120 | - { |
|
121 | - return $this->bootstrappers; |
|
122 | - } |
|
115 | + * Get the bootstrap classes for the application. |
|
116 | + * |
|
117 | + * @return array |
|
118 | + */ |
|
119 | + protected function bootstrappers() |
|
120 | + { |
|
121 | + return $this->bootstrappers; |
|
122 | + } |
|
123 | 123 | |
124 | 124 | /** |
125 | 125 | * Get the Prime application instance. |