Passed
Push — master ( 5caefd...2c19c4 )
by Alexander
06:26
created

MissingAppKeyException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
3
/**
4
 * Lenevor Framework
5
 *
6
 * LICENSE
7
 *
8
 * This source file is subject to the new BSD license that is bundled
9
 * with this package in the file license.md.
10
 * It is also available through the world-wide-web at this URL:
11
 * https://lenevor.com/license
12
 * If you did not receive a copy of the license and are unable to
13
 * obtain it through the world-wide-web, please send an email
14
 * to [email protected] so we can send you a copy immediately.
15
 *
16
 * @package     Lenevor
17
 * @subpackage  Base
18
 * @link        https://lenevor.com
19
 * @copyright   Copyright (c) 2019 - 2023 Alexander Campo <[email protected]>
20
 * @license     https://opensource.org/licenses/BSD-3-Clause New BSD license or see https://lenevor.com/license or see /license.md
21
 */
22
23
namespace Syscodes\Components\Encryption\Exceptions;
24
25
use RuntimeException;
26
27
class MissingAppKeyException extends RuntimeException
28
{
29
    /**
30
     * Constructor. Create a new MissingAppKeyException
31
     * 
32
     * @param  string  $message
33
     * 
34
     * @return void
35
     */
36
    public function __construct($message = 'No application encryption key has been specified')
37
    {
38
        return parent::__construct($message);        
39
    }
40
}