| Total Complexity | 5 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | class Bootstrap extends AbstractLibrary |
||
| 23 | implements ModalInterface, AlertInterface, ConfirmInterface |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @const The library name |
||
| 27 | */ |
||
| 28 | const NAME = 'bootstrap'; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @inheritDoc |
||
| 32 | */ |
||
| 33 | public function getName(): string |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @inheritDoc |
||
| 40 | */ |
||
| 41 | public function getUri(): string |
||
| 42 | { |
||
| 43 | return 'https://cdn.jsdelivr.net/npm/[email protected]/dist'; |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @inheritDoc |
||
| 48 | */ |
||
| 49 | public function getJs(): string |
||
| 50 | { |
||
| 51 | return $this->helper()->getJsCode('js/bootstrap-dialog.min.js'); |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @inheritDoc |
||
| 56 | */ |
||
| 57 | public function getCss(): string |
||
| 60 | } |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @inheritDoc |
||
| 64 | */ |
||
| 65 | public function getReadyScript(): string |
||
| 68 | } |
||
| 69 | } |
||
| 70 |