Completed
Push — master ( bd8b26...543084 )
by Zach
01:43
created

FileNotFound::servicesFileNotFound()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 4
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 7
rs 9.4285
1
<?php
2
3
namespace Yarak\Exceptions;
4
5
use Exception;
6
7
class FileNotFound extends Exception
8
{
9
    /**
10
     * The services file can not be resolved.
11
     *
12
     * @param string $additional
13
     *
14
     * @return static
15
     */
16
    public static function servicesFileNotFound($additional = '')
17
    {
18
        return new static(
19
            'The services file could not be found at app/config/services.php. '.
20
            $additional
21
        );
22
    }
23
}
24