Alert   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
dl 0
loc 15
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getName() 0 3 1
1
<?php
2
3
/**
4
 * Alert.php
5
 *
6
 * Implements the dialog alert and confirm features using the js alert and confirm functions.
7
 *
8
 * @package jaxon-dialogs
9
 * @author Thierry Feuzeu <[email protected]>
10
 * @copyright 2016 Thierry Feuzeu <[email protected]>
11
 * @license https://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License
12
 * @link https://github.com/jaxon-php/jaxon-core
13
 */
14
15
namespace Jaxon\Dialogs\Dialog\Library;
16
17
use Jaxon\Dialogs\Dialog\AbstractLibrary;
18
use Jaxon\App\Dialog\Library\AlertInterface;
19
use Jaxon\App\Dialog\Library\ConfirmInterface;
20
21
class Alert extends AbstractLibrary implements AlertInterface, ConfirmInterface
22
{
23
    /**
24
     * @const The library name
25
     */
26
    const NAME = '';
27
28
    /**
29
     * Get the library name
30
     *
31
     * @return string
32
     */
33
    public function getName(): string
34
    {
35
        return ''; // No name
36
    }
37
}
38