[Serializer] Abstract classes now implement their respective interfaces
This commit is contained in:
parent
cbd4fdd398
commit
6f5c2e2d8b
@ -18,7 +18,7 @@ use Symfony\Component\Serializer\SerializerInterface;
|
||||
*
|
||||
* @author Jordi Boggiano <j.boggiano@seld.be>
|
||||
*/
|
||||
abstract class AbstractEncoder
|
||||
abstract class AbstractEncoder implements EncoderInterface
|
||||
{
|
||||
protected $serializer;
|
||||
|
||||
|
@ -18,7 +18,7 @@ use Symfony\Component\Serializer\SerializerInterface;
|
||||
*
|
||||
* @author Jordi Boggiano <j.boggiano@seld.be>
|
||||
*/
|
||||
class JsonEncoder extends AbstractEncoder implements EncoderInterface
|
||||
class JsonEncoder extends AbstractEncoder
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
@ -20,7 +20,7 @@ use Symfony\Component\Serializer\SerializerInterface;
|
||||
* @author John Wards <jwards@whiteoctober.co.uk>
|
||||
* @author Fabian Vogler <fabian@equivalence.ch>
|
||||
*/
|
||||
class XmlEncoder extends AbstractEncoder implements EncoderInterface
|
||||
class XmlEncoder extends AbstractEncoder
|
||||
{
|
||||
protected $dom;
|
||||
protected $format;
|
||||
|
@ -18,7 +18,7 @@ use Symfony\Component\Serializer\SerializerInterface;
|
||||
*
|
||||
* @author Jordi Boggiano <j.boggiano@seld.be>
|
||||
*/
|
||||
abstract class AbstractNormalizer
|
||||
abstract class AbstractNormalizer implements NormalizerInterface
|
||||
{
|
||||
protected $serializer;
|
||||
|
||||
|
@ -16,7 +16,7 @@ use Symfony\Component\Serializer\SerializerInterface;
|
||||
/**
|
||||
* @author Jordi Boggiano <j.boggiano@seld.be>
|
||||
*/
|
||||
class CustomNormalizer extends AbstractNormalizer implements NormalizerInterface
|
||||
class CustomNormalizer extends AbstractNormalizer
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
@ -33,7 +33,7 @@ use Symfony\Component\Serializer\SerializerInterface;
|
||||
*
|
||||
* @author Nils Adermann <naderman@naderman.de>
|
||||
*/
|
||||
class GetSetMethodNormalizer extends AbstractNormalizer implements NormalizerInterface
|
||||
class GetSetMethodNormalizer extends AbstractNormalizer
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
Reference in New Issue
Block a user