| Conditions | 2 |
| Paths | 2 |
| Total Lines | 20 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | public function __construct($middleware_app_class, $message = '', $code = 0, Exception $previous = null) |
||
| 29 | { |
||
| 30 | if (empty($message)) { |
||
| 31 | $message = sprintf( |
||
| 32 | esc_html__( |
||
| 33 | 'The supplied Request Stack Middleware class "%1$s" is invalid or could no be found.', |
||
| 34 | 'event_espresso' |
||
| 35 | ), |
||
| 36 | $middleware_app_class |
||
| 37 | ); |
||
| 38 | } |
||
| 39 | parent::__construct( |
||
| 40 | '$middleware_app_class', |
||
| 41 | $middleware_app_class, |
||
| 42 | 'EventEspresso\core\services\request\middleware\Middleware', |
||
| 43 | $message, |
||
| 44 | $code, |
||
| 45 | $previous |
||
| 46 | ); |
||
| 47 | } |
||
| 48 | } |
||
| 49 |