Total Complexity | 5 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
22 | class Alertify extends AbstractLibrary implements ModalInterface, AlertInterface, ConfirmInterface |
||
23 | { |
||
24 | /** |
||
25 | * @const The library name |
||
26 | */ |
||
27 | const NAME = 'alertify'; |
||
28 | |||
29 | /** |
||
30 | * @inheritDoc |
||
31 | */ |
||
32 | public function getName(): string |
||
33 | { |
||
34 | return self::NAME; |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @inheritDoc |
||
39 | */ |
||
40 | public function getUri(): string |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * @inheritDoc |
||
47 | */ |
||
48 | public function getJs(): string |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * @inheritDoc |
||
55 | */ |
||
56 | public function getCss(): string |
||
57 | { |
||
58 | return $this->helper()->getCssCode('css/alertify.min.css') . "\n" . |
||
59 | $this->helper()->getCssCode('css/themes/default.min.css'); |
||
60 | } |
||
61 | |||
62 | /** |
||
63 | * @inheritDoc |
||
64 | */ |
||
65 | public function getReadyScript(): string |
||
68 | } |
||
69 | } |
||
70 |