Test Failed
Push — master ( 59e8b7...7608ba )
by Florian
03:44
created

MissingPolicyException::__construct()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 7
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 7
rs 10
c 0
b 0
f 0
cc 2
nc 2
nop 3
1
<?php
2
declare(strict_types = 1);
3
/**
4
 * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
5
 * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
6
 *
7
 * Licensed under The MIT License
8
 * For full copyright and license information, please see the LICENSE.txt
9
 * Redistributions of files must retain the above copyright notice.
10
 *
11
 * @copyright     Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
12
 * @link          https://cakephp.org CakePHP(tm) Project
13
 * @since         1.0.0
14
 * @license       https://opensource.org/licenses/mit-license.php MIT License
15
 */
16
namespace Phauthentic\Authorization\Policy\Exception;
17
18
use Phauthentic\Authorization\Exception\Exception;
19
20
/**
21
 * MissingPolicyException
22
 */
23
class MissingPolicyException extends Exception
24
{
25
    /**
26
     * Template string that has attributes sprintf()'ed into it.
27
     *
28
     * @var string
29
     */
30
    protected $messageTemplate = 'Policy for `%s` has not been defined.';
31
}
32