1 | <?php |
||
29 | class Hooks { |
||
30 | |||
31 | /** |
||
32 | * @var View |
||
33 | */ |
||
34 | private $view; |
||
35 | |||
36 | /** |
||
37 | * @var PaperHiveMetadata |
||
38 | */ |
||
39 | private $paperHiveMetadata; |
||
40 | |||
41 | /** |
||
42 | */ |
||
43 | public function __construct(View $view, PaperHiveMetadata $paperHiveMetadata) { |
||
47 | |||
48 | /** |
||
49 | * Delete book metadata from file |
||
50 | * |
||
51 | * @param $path |
||
52 | */ |
||
53 | public function deleteBookMetadata($path) { |
||
58 | |||
59 | /** |
||
60 | * Hook to remove metadata from file before deleting |
||
61 | * @param array $params |
||
62 | */ |
||
63 | public static function delete_metadata_hook($params) { |
||
70 | |||
71 | /** |
||
72 | * @var Hooks |
||
73 | */ |
||
74 | private static $instance; |
||
75 | |||
76 | /** |
||
77 | * @deprecated use DI |
||
78 | * @return Hooks |
||
79 | */ |
||
80 | public static function createForStaticLegacyCode() { |
||
101 | |||
102 | } |
||
103 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.