Completed
Push — master ( 385b7a...81dd2f )
by Greg
02:09
created

UnknownFormatException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
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 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
namespace Consolidation\OutputFormatters\Exception;
3
4
/**
5
 * Indicates that the requested format does not exist.
6
 */
7
class UnknownFormatException extends \Exception
8
{
9
    public function __construct($format)
10
    {
11
        $message = "The requested format, '$format', is not available.";
12
        parent::__construct($message, 1);
13
    }
14
}
15