| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | final class ClassEventDiscriminator implements EventDiscriminator |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | private $class; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * ClassEventDiscriminator constructor. |
||
| 27 | * |
||
| 28 | * @param string $class |
||
| 29 | */ |
||
| 30 | public function __construct(string $class) |
||
| 31 | { |
||
| 32 | $this->class = $class; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function shouldEnqueue(Event $event): bool |
||
| 41 | } |
||
| 42 | } |
||
| 43 |