FileContent   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 4
c 1
b 0
f 0
dl 0
loc 14
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 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-config
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\Config\Exception;
16
17
class FileContent 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