Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 13 |
Ratio | 100 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | public function __construct($identifier, $message = '', $code = 0, Exception $previous = null) |
||
28 | { |
||
29 | if (empty($message)) { |
||
30 | $message = sprintf( |
||
31 | __( |
||
32 | 'The supplied identifier "%1$s" already exists within this collection.', |
||
33 | 'event_espresso' |
||
34 | ), |
||
35 | $identifier |
||
36 | ); |
||
37 | } |
||
38 | parent::__construct($message, $code, $previous); |
||
39 | } |
||
40 | } |
||
41 |