Method | Description | |
---|---|---|
__construct ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceMetadataRegistry, Symfony\Component\DependencyInjection\ContainerInterface $container ) | ||
getSubscribedEvents ( ) | ||
loadClassMetadata ( Doctrine\ORM\Event\LoadClassMetadataEventArgs $eventArgs ) | Add mapping to translatable entities | |
postLoad ( Doctrine\ORM\Event\LifecycleEventArgs $args ) |
Method | Description | |
---|---|---|
hasUniqueConstraint ( Doctrine\ORM\Mapping\ClassMetadata $metadata, array $columns ) : boolean | Check if a unique constraint has been defined. | |
mapTranslatable ( Doctrine\ORM\Mapping\ClassMetadata $metadata ) | Add mapping data to a translatable entity. | |
mapTranslation ( Doctrine\ORM\Mapping\ClassMetadata $metadata ) | Add mapping data to a translation entity. |
public __construct ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceMetadataRegistry, Symfony\Component\DependencyInjection\ContainerInterface $container ) | ||
$resourceMetadataRegistry | Sylius\Component\Resource\Metadata\RegistryInterface | |
$container | Symfony\Component\DependencyInjection\ContainerInterface |
public loadClassMetadata ( Doctrine\ORM\Event\LoadClassMetadataEventArgs $eventArgs ) | ||
$eventArgs | Doctrine\ORM\Event\LoadClassMetadataEventArgs |
public postLoad ( Doctrine\ORM\Event\LifecycleEventArgs $args ) | ||
$args | Doctrine\ORM\Event\LifecycleEventArgs |