1 | <?php namespace Arcanesoft\Media; |
||
12 | class MediaServiceProvider extends PackageServiceProvider |
||
13 | { |
||
14 | /* ------------------------------------------------------------------------------------------------ |
||
15 | | Properties |
||
16 | | ------------------------------------------------------------------------------------------------ |
||
17 | */ |
||
18 | /** |
||
19 | * Package name. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $package = 'media'; |
||
24 | |||
25 | /* ------------------------------------------------------------------------------------------------ |
||
26 | | Getters & Setters |
||
27 | | ------------------------------------------------------------------------------------------------ |
||
28 | */ |
||
29 | /** |
||
30 | * Get the base path of the package. |
||
31 | * |
||
32 | * @return string |
||
33 | */ |
||
34 | 8 | public function getBasePath() |
|
38 | |||
39 | /* ------------------------------------------------------------------------------------------------ |
||
40 | | Main Functions |
||
41 | | ------------------------------------------------------------------------------------------------ |
||
42 | */ |
||
43 | /** |
||
44 | * Register the service provider. |
||
45 | */ |
||
46 | 8 | public function register() |
|
60 | |||
61 | /** |
||
62 | * Boot the service provider. |
||
63 | */ |
||
64 | 8 | public function boot() |
|
76 | |||
77 | /** |
||
78 | * Get the services provided by the provider. |
||
79 | * |
||
80 | * @return array |
||
81 | */ |
||
82 | 2 | public function provides() |
|
88 | |||
89 | /* ------------------------------------------------------------------------------------------------ |
||
90 | | Other Functions |
||
91 | | ------------------------------------------------------------------------------------------------ |
||
92 | */ |
||
93 | /** |
||
94 | * Sync the filesystem config. |
||
95 | */ |
||
96 | 8 | private function syncFilesystemConfig() |
|
102 | |||
103 | /** |
||
104 | * Publish the assets. |
||
105 | */ |
||
106 | 8 | private function publishAssets() |
|
112 | } |
||
113 |