Exception   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getName() 0 3 1
1
<?php
2
/**
3
 * @link      https://github.com/chrmorandi/yii2-ldap for the source repository
4
 * @package   yii2-ldap
5
 * @author    Christopher Mota <[email protected]>
6
 * @license   MIT License - view the LICENSE file that was distributed with this source code.
7
 * @since     1.0.0
8
 */
9
10
namespace chrmorandi\ldap;
11
12
/**
13
 * Exception represents a generic exception for all purposes.
14
 *
15
 * For more details and usage information on Exception, see the [guide article on handling errors](guide:runtime-handling-errors).
16
 *
17
 * @author Qiang Xue <[email protected]>
18
 * @since 2.0
19
 */
20
class Exception extends \Exception
21
{
22
    /**
23
     * @return string the user-friendly name of this exception
24
     */
25
    public function getName()
26
    {
27
        return 'Exception';
28
    }
29
30
}
31