| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 43 | final public static function signalNotAllowed(SendsMiddlewareSignal $middleware) |
||
| 44 | { |
||
| 45 | /** @var self $exception */ |
||
| 46 | $exception = self::getNewExceptionInstance( |
||
| 47 | self::SIGNAL_NOT_ALLOWED, |
||
| 48 | [ |
||
| 49 | get_class($middleware), |
||
| 50 | implode('", "', $middleware->getAllowedSignals()) |
||
| 51 | ] |
||
| 52 | ); |
||
| 53 | |||
| 54 | return $exception; |
||
| 55 | } |
||
| 56 | } |
||
| 57 |