Completed
Push — master ( c37327...ba75ea )
by vistart
07:11
created

OnlyAcceptCurrentOrgMemberException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
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
/**
4
 *  _   __ __ _____ _____ ___  ____  _____
5
 * | | / // // ___//_  _//   ||  __||_   _|
6
 * | |/ // /(__  )  / / / /| || |     | |
7
 * |___//_//____/  /_/ /_/ |_||_|     |_|
8
 * @link https://vistart.me/
9
 * @copyright Copyright (c) 2016 - 2017 vistart
10
 * @license https://vistart.me/license/
11
 */
12
13
namespace rhosocial\organization\exceptions;
14
15
use yii\base\InvalidParamException;
16
17
/**
18
 * Class OnlyAcceptCurrentOrgMemberException
19
 * @package rhosocial\organization\exceptions
20
 * @version 1.0
21
 * @author vistart <[email protected]>
22
 */
23
class OnlyAcceptCurrentOrgMemberException extends InvalidParamException
24
{
25
    /**
26
     * @return string the user-friendly name of this exception
27
     */
28
    public function getName()
29
    {
30
        return 'Only Accept Current Organization\'s Members';
31
    }
32
}
33