| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 14 |
| 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" does not exist within this collection. |
||
| 33 | You may need to delay adding this asset until the required dependency has been added.', |
||
| 34 | 'event_espresso' |
||
| 35 | ), |
||
| 36 | $identifier |
||
| 37 | ); |
||
| 38 | } |
||
| 39 | parent::__construct($message, $code, $previous); |
||
| 40 | } |
||
| 41 | } |
||
| 42 |