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

InvalidWorkingDirectoryException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 6
rs 9.4286
cc 1
eloc 3
nc 1
nop 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