protected function listSerializer(OutputInterface $output)
    {
        $table = new Table($output);

        /** @var SerializerManager $serializerManager */
        $serializerManager = $this->getContainer()->get(RegisterSerializerPass::MANAGER_SERVICE_ID);

        /** @var SerializerInterface $serializer */
        foreach ($serializerManager->getSerializers() as $serializer) {
            $table->addRow([
                $serializer->getId(),
                $serializer->getName(),
                $serializer->getExtension(),
                $serializer->getMimeType()
            ]);
        }

        $table
            ->setHeaders([
                'Id',
                'Name',
                'Extension',
                'MIME type'
            ])
            ->render()
        ;
    }