Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
11 | public function __construct($typeName, $indexId = null) |
||
12 | { |
||
13 | if (null !== $indexId) { |
||
14 | $message = sprintf('Type "%s.%s" not found.', $indexId, $typeName); |
||
15 | } else { |
||
16 | $message = sprintf('Type "%s" not found in any index.', $typeName); |
||
17 | } |
||
18 | |||
19 | parent::__construct($message); |
||
20 | } |
||
21 | } |
||
22 |