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

FileNotFound   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 17
rs 10
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A servicesFileNotFound() 0 7 1
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