Completed
Push — master ( 54fd4c...3f374a )
by Christopher
06:45
created

Exception   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 10
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getName() 0 4 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