| Total Complexity | 5 |
| Total Lines | 52 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 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 |
||
| 60 | <style> |
||
| 61 | .ajs-footer .ajs-buttons .btn { |
||
| 62 | margin-right: 10px; |
||
| 63 | } |
||
| 64 | </style> |
||
| 65 | '; |
||
| 66 | } |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @inheritDoc |
||
| 70 | */ |
||
| 71 | public function getScript(): string |
||
| 76 |