1 | <?php |
||
19 | class Cdn implements CdnInterface |
||
20 | { |
||
21 | /** |
||
22 | * An instance of the finder class. |
||
23 | * |
||
24 | * @var Contracts\ |
||
25 | */ |
||
26 | protected $finder; |
||
27 | |||
28 | /** |
||
29 | * The object that will hold the assets configurations |
||
30 | * and the paths of the assets. |
||
31 | * |
||
32 | * @var Contracts\AssetInterface |
||
33 | */ |
||
34 | protected $asset_holder; |
||
35 | |||
36 | /** |
||
37 | * @var \Publiux\laravelcdn\Contracts\ProviderFactoryInterface |
||
38 | */ |
||
39 | protected $provider_factory; |
||
40 | |||
41 | /** |
||
42 | * @var \Publiux\laravelcdn\Contracts\CdnHelperInterface |
||
43 | */ |
||
44 | protected $helper; |
||
45 | |||
46 | /** |
||
47 | * @param FinderInterface $finder |
||
48 | * @param AssetInterface $asset_holder |
||
49 | * @param ProviderFactoryInterface $provider_factory |
||
50 | * @param CdnHelperInterface $helper |
||
51 | * |
||
52 | * @internal param \Publiux\laravelcdn\Repository $configurations |
||
53 | */ |
||
54 | public function __construct( |
||
65 | |||
66 | /** |
||
67 | * Will be called from the Publiux\laravelcdn\PushCommand class on Fire(). |
||
68 | */ |
||
69 | public function push() |
||
86 | |||
87 | /** |
||
88 | * Will be called from the Publiux\laravelcdn\EmptyCommand class on Fire(). |
||
89 | */ |
||
90 | public function emptyBucket() |
||
100 | } |
||
101 |