Completed
Pull Request — master (#20)
by Haralan
18:05 queued 16:21
created

Exception_Notimplemented::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
ccs 0
cts 3
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 2
crap 2
1
<?php
2
3
namespace Openbuildings\Spiderling;
4
5
/**
6
 * @package    Openbuildings\Spiderling
7
 * @author     Ivan Kerin
8
 * @copyright  (c) 2013 OpenBuildings Ltd.
9
 * @license    http://spdx.org/licenses/BSD-3-Clause
10
 */
11
class Exception_Notimplemented extends Exception {
12
13
	public function __construct($method, Driver $driver)
14
	{
15
		parent::__construct('Method \':method\' not implemented by driver \':driver\'', array(':method' => $method, ':driver' => $driver->name));
16
	}
17
}
18