Completed
Branch develop (ff0d26)
by Edward
03:17
created

InvalidWorkingDirectoryException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
/**
3
 * File InvalidWorkingDirectoryException.php
4
 *
5
 * @author Edward Pfremmer <[email protected]>
6
 */
7
namespace Epfremme\ProcessQueue\Process\Exception;
8
9
/**
10
 * Class InvalidWorkingDirectoryException
11
 *
12
 * @package Epfremme\ProcessQueue\Process\Exception
13
 */
14
class InvalidWorkingDirectoryException extends \InvalidArgumentException
15
{
16
    /**
17
     * InvalidWorkingDirectoryException constructor
18
     *
19
     * @param string $directory
20
     */
21
    public function __construct($directory)
22
    {
23
        $message = sprintf('Directory %s does not exist', $directory);
24
25
        parent::__construct($message);
26
    }
27
}
28