UserNotFoundException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
/**
3
 * @file     NullUserException.php
4
 * This file is a class that should be used to communicate a null user
5
 * error to a user.
6
 * @package  Lib\EvangelistStatus
7
 * @author   andrew <[email protected]>
8
 * @license  MIT => https://opensource.org/licenses/MIT
9
 */
10
11
namespace Lib\Exceptions;
12
13
use Exception;
14
15
/**
16
 * @category Class
17
 * @package  Lib\EvangelistStatus
18
 */
19
class UserNotFoundException extends Exception
20
{
21
    protected $message;
22
23
    /**
24
     * @param string $message
25
     */
26
    public function __construct($message)
27
    {
28
        $this->message = $message;
29
30
        // make sure everything is properly assigned
31
        parent::__construct($message);
32
    }
33
}
34