| 1 | <?php |
||
| 15 | class SerializerListener implements SubscribingHandlerInterface |
||
| 16 | { |
||
| 17 | |||
| 18 | /** @var Extractor */ |
||
| 19 | private $extractor; |
||
| 20 | |||
| 21 | 6 | public function __construct(Extractor $extractor) |
|
| 25 | |||
| 26 | /** {@inheritDoc} */ |
||
| 27 | 1 | public static function getSubscribingMethods(): array |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @param object $entity Entity object |
||
| 41 | * @throws UnsupportedEntityException |
||
| 42 | */ |
||
| 43 | 6 | public function extract( |
|
| 50 | } |
||
| 51 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.