Passed
Push — main ( 144de1...77b9e9 )
by Thierry
02:56
created

FileAccess::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
/**
4
 * File.php - Unable to read config file.
5
 *
6
 * This exception is thrown when the config file cannot be read.
7
 *
8
 * @package jaxon-core
9
 * @author Thierry Feuzeu <[email protected]>
10
 * @copyright 2022 Thierry Feuzeu <[email protected]>
11
 * @license https://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License
12
 * @link https://github.com/jaxon-php/jaxon-core
13
 */
14
15
namespace Jaxon\Utils\Config\Exception;
16
17
class FileAccess extends \Exception
18
{
19
    /**
20
     * @var string
21
     */
22
    public $sConfigFile;
23
24
    /**
25
     * @param string $sConfigFile
26
     */
27
    public function __construct(string $sConfigFile)
28
    {
29
        parent::__construct();
30
        $this->sConfigFile = $sConfigFile;
31
    }
32
}
33