| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | class SweetAlert extends AbstractLibrary implements AlertInterface, ConfirmInterface |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @const The library name |
||
| 25 | */ |
||
| 26 | public const NAME = 'sweetalert'; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * The js files |
||
| 30 | * |
||
| 31 | * @var array |
||
| 32 | */ |
||
| 33 | protected $aJsFiles = ['sweetalert.min.js']; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @inheritDoc |
||
| 37 | */ |
||
| 38 | public function getName(): string |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @inheritDoc |
||
| 45 | */ |
||
| 46 | public function getBaseUrl(): string |
||
| 51 |