@@ -7,25 +7,25 @@ |
||
| 7 | 7 | |
| 8 | 8 | class ChartServiceProvider extends ServiceProvider{ |
| 9 | 9 | |
| 10 | - /** |
|
| 11 | - * Indicates if loading of the provider is deferred. |
|
| 12 | - * |
|
| 13 | - * @var bool |
|
| 14 | - */ |
|
| 15 | - protected $defer = false; |
|
| 16 | - |
|
| 17 | - public function boot() |
|
| 18 | - { |
|
| 19 | - // |
|
| 20 | - } |
|
| 21 | - |
|
| 22 | - public function register() |
|
| 23 | - { |
|
| 24 | - $this->app->bind('chart', function($app) { |
|
| 25 | - |
|
| 26 | - $collection = new Collection; |
|
| 27 | - |
|
| 28 | - return new Chart($collection); |
|
| 29 | - }); |
|
| 30 | - } |
|
| 10 | + /** |
|
| 11 | + * Indicates if loading of the provider is deferred. |
|
| 12 | + * |
|
| 13 | + * @var bool |
|
| 14 | + */ |
|
| 15 | + protected $defer = false; |
|
| 16 | + |
|
| 17 | + public function boot() |
|
| 18 | + { |
|
| 19 | + // |
|
| 20 | + } |
|
| 21 | + |
|
| 22 | + public function register() |
|
| 23 | + { |
|
| 24 | + $this->app->bind('chart', function($app) { |
|
| 25 | + |
|
| 26 | + $collection = new Collection; |
|
| 27 | + |
|
| 28 | + return new Chart($collection); |
|
| 29 | + }); |
|
| 30 | + } |
|
| 31 | 31 | } |
| 32 | 32 | \ No newline at end of file |