프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$context | array | ||
$doctrineHelper | WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface | ||
$format | string | ||
$propertyAccessor | |||
$serializationMetadataCollection | WellCommerce\Bundle\ApiBundle\Metadata\Collection\SerializationMetadataCollection | ||
$serializationMetadataLoader | WellCommerce\Bundle\ApiBundle\Metadata\Loader\SerializationMetadataLoaderInterface | ||
$serializer | Symfony\Component\Serializer\SerializerInterface | Symfony\Component\Serializer\Normalizer\NormalizerInterface | Symfony\Component\Serializer\Normalizer\DenormalizerInterface |
메소드 | 설명 | |
---|---|---|
__construct ( WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface $doctrineHelper, WellCommerce\Bundle\ApiBundle\Metadata\Loader\SerializationMetadataLoaderInterface $serializationMetadataLoader ) | AbstractSerializer constructor. | |
setSerializer ( Symfony\Component\Serializer\SerializerInterface $serializer ) |
메소드 | 설명 | |
---|---|---|
buildPath ( $propertyName ) : Symfony\Component\PropertyAccess\PropertyPath | ||
getEntityAssociations ( Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata ) : array | Returns the entity fields | |
getEntityEmbeddables ( Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata ) : array | Returns the entity embeddable fields | |
getEntityFields ( Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata ) : array | Returns the entity fields | |
getEntityMetadata ( object $entity ) : Doctrine\Common\Persistence\Mapping\ClassMetadata | Returns the metadata for entity | |
getPropertyPath ( $attributeName ) : Symfony\Component\PropertyAccess\PropertyPath | Builds property path in array-notation style from given attribute's name | |
getSerializationMetadata ( object $entity ) : WellCommerce\Bundle\ApiBundle\Metadata\SerializationClassMetadataInterface | Returns the serialization metadata for given entity | |
getSerializationMetadataCollection ( ) : WellCommerce\Bundle\ApiBundle\Metadata\Collection\SerializationMetadataCollection |
메소드 | 설명 | |
---|---|---|
getRealClass ( object $object ) : string | Returns the real class name |
public __construct ( WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface $doctrineHelper, WellCommerce\Bundle\ApiBundle\Metadata\Loader\SerializationMetadataLoaderInterface $serializationMetadataLoader ) | ||
$doctrineHelper | WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface | |
$serializationMetadataLoader | WellCommerce\Bundle\ApiBundle\Metadata\Loader\SerializationMetadataLoaderInterface |
protected buildPath ( $propertyName ) : Symfony\Component\PropertyAccess\PropertyPath | ||
$propertyName | ||
리턴 | Symfony\Component\PropertyAccess\PropertyPath |
protected getEntityAssociations ( Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata ) : array | ||
$metadata | Doctrine\Common\Persistence\Mapping\ClassMetadata | |
리턴 | array |
protected getEntityEmbeddables ( Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata ) : array | ||
$metadata | Doctrine\Common\Persistence\Mapping\ClassMetadata | |
리턴 | array |
protected getEntityFields ( Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata ) : array | ||
$metadata | Doctrine\Common\Persistence\Mapping\ClassMetadata | |
리턴 | array |
protected getEntityMetadata ( object $entity ) : Doctrine\Common\Persistence\Mapping\ClassMetadata | ||
$entity | object | |
리턴 | Doctrine\Common\Persistence\Mapping\ClassMetadata |
protected getPropertyPath ( $attributeName ) : Symfony\Component\PropertyAccess\PropertyPath | ||
$attributeName | ||
리턴 | Symfony\Component\PropertyAccess\PropertyPath |
protected getSerializationMetadata ( object $entity ) : WellCommerce\Bundle\ApiBundle\Metadata\SerializationClassMetadataInterface | ||
$entity | object | |
리턴 | WellCommerce\Bundle\ApiBundle\Metadata\SerializationClassMetadataInterface |
protected getSerializationMetadataCollection ( ) : WellCommerce\Bundle\ApiBundle\Metadata\Collection\SerializationMetadataCollection | ||
리턴 | WellCommerce\Bundle\ApiBundle\Metadata\Collection\SerializationMetadataCollection |
public setSerializer ( Symfony\Component\Serializer\SerializerInterface $serializer ) | ||
$serializer | Symfony\Component\Serializer\SerializerInterface |
protected DoctrineHelperInterface,WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine $doctrineHelper | ||
리턴 | WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface |
protected PropertyAccessor,Symfony\Component\PropertyAccess $propertyAccessor | ||
리턴 |
protected SerializationMetadataCollection,WellCommerce\Bundle\ApiBundle\Metadata\Collection $serializationMetadataCollection | ||
리턴 | WellCommerce\Bundle\ApiBundle\Metadata\Collection\SerializationMetadataCollection |
protected SerializationMetadataLoaderInterface,WellCommerce\Bundle\ApiBundle\Metadata\Loader $serializationMetadataLoader | ||
리턴 | WellCommerce\Bundle\ApiBundle\Metadata\Loader\SerializationMetadataLoaderInterface |
protected SerializerInterface,Symfony\Component\Serializer|NormalizerInterface,Symfony\Component\Serializer\Normalizer|DenormalizerInterface,Symfony\Component\Serializer\Normalizer $serializer | ||
리턴 | Symfony\Component\Serializer\SerializerInterface | Symfony\Component\Serializer\Normalizer\NormalizerInterface | Symfony\Component\Serializer\Normalizer\DenormalizerInterface |