1 | <?php |
||
11 | class CleanCacheRepository |
||
12 | { |
||
13 | |||
14 | /** |
||
15 | * @var \Illuminate\Contracts\Cache\Repository |
||
16 | */ |
||
17 | protected $cache = null; |
||
18 | |||
19 | /** |
||
20 | * @var \Prettus\Repository\Contracts\RepositoryInterface; |
||
21 | */ |
||
22 | protected $repository = null; |
||
23 | |||
24 | /** |
||
25 | * @var \Illuminate\Database\Eloquent\Model |
||
26 | */ |
||
27 | protected $model = null; |
||
28 | |||
29 | /** |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $action = null; |
||
33 | |||
34 | /** |
||
35 | * Construct |
||
36 | */ |
||
37 | 1 | public function __construct() |
|
41 | |||
42 | /** |
||
43 | * Handle |
||
44 | * |
||
45 | * @param RepositoryEventBase $event |
||
46 | */ |
||
47 | 1 | public function handle(RepositoryEventBase $event) |
|
66 | } |
||
67 |