| 1 | <?php |
||
| 22 | class StatementSerializerListener extends AbstractSerializerListener |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var StatementSerializerInterface |
||
| 26 | */ |
||
| 27 | private $serializer; |
||
| 28 | |||
| 29 | 2 | public function __construct(StatementSerializerInterface $serializer) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritDoc} |
||
| 36 | */ |
||
| 37 | 2 | protected function isControllerResultSupported($result) |
|
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritDoc} |
||
| 44 | */ |
||
| 45 | 1 | protected function serializeControllerResult($result) |
|
| 49 | } |
||
| 50 |