class ImageVariantTransformation extends AbstractTransformation (View source)

Convert serialized (old resource management) ImageVariants to new ImageVariants.

Properties

protected AssetRepository $assetRepository
protected ResourceManager $resourceManager
protected ProcessingInstructionsConverter $processingInstructionsConverter
protected PersistenceManagerInterface $persistenceManager
protected EntityManagerInterface $entityManager

Doctrine's Entity Manager.

Methods

bool
isTransformable(NodeData $node)

No description

execute(NodeData $node)

Change the property on the given node.

Details

bool isTransformable(NodeData $node)

No description

Parameters

NodeData $node

Return Value

bool

NodeData execute(NodeData $node)

Change the property on the given node.

Parameters

NodeData $node

Return Value

NodeData