1 | <?php namespace Arcanedev\Currencies\Providers; |
||
15 | class ManagerServiceProvider extends ServiceProvider |
||
16 | { |
||
17 | /* ------------------------------------------------------------------------------------------------ |
||
18 | | Properties |
||
19 | | ------------------------------------------------------------------------------------------------ |
||
20 | */ |
||
21 | /** |
||
22 | * Indicates if loading of the provider is deferred. |
||
23 | * |
||
24 | * @var bool |
||
25 | */ |
||
26 | protected $defer = true; |
||
27 | |||
28 | /* ------------------------------------------------------------------------------------------------ |
||
29 | | Main Functions |
||
30 | | ------------------------------------------------------------------------------------------------ |
||
31 | */ |
||
32 | /** |
||
33 | * Register the service provider. |
||
34 | */ |
||
35 | 468 | public function register() |
|
40 | |||
41 | /** |
||
42 | * Boot the service provider. |
||
43 | */ |
||
44 | 468 | public function boot() |
|
50 | |||
51 | /** |
||
52 | * Get the services provided by the provider. |
||
53 | * |
||
54 | * @return array |
||
55 | */ |
||
56 | 21 | public function provides() |
|
65 | |||
66 | /* ------------------------------------------------------------------------------------------------ |
||
67 | | Other Functions |
||
68 | | ------------------------------------------------------------------------------------------------ |
||
69 | */ |
||
70 | 468 | private function registerCurrencyManager() |
|
81 | |||
82 | private function registerCurrencyConverter() |
||
90 | |||
91 | 468 | private function loadCurrencies() |
|
100 | } |
||
101 |