Passed
Push — master ( 6b2101...ccd743 )
by Petr
04:05
created

MethodNotImplemented::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace AppBundle\Exception;
4
5
/**
6
 * @author Vehsamrak
7
 */
8
class MethodNotImplemented extends HttpDomainException
9
{
10
11
    /**
12
     * @param string $methodName
13
     */
14
    public function __construct(string $methodName)
15
    {
16
        $message = sprintf('Method %s() not implemented.', $methodName);
17
18
        parent::__construct($message);
19
    }
20
}
21