PHP Class Sulu\Bundle\MediaBundle\Media\ImageConverter\TransformationPool

Inheritance: implements Sulu\Bundle\MediaBundle\Media\ImageConverter\TransformationPoolInterface
Exibir arquivo Open project: sulu/sulu

Public Methods

Method Description
add ( Sulu\Bundle\MediaBundle\Media\ImageConverter\Transformation\TransformationInterface $transformation, string $alias )
get ( string $name ) : Sulu\Bundle\MediaBundle\Media\ImageConverter\Transformation\TransformationInterface

Method Details

add() public method

public add ( Sulu\Bundle\MediaBundle\Media\ImageConverter\Transformation\TransformationInterface $transformation, string $alias )
$transformation Sulu\Bundle\MediaBundle\Media\ImageConverter\Transformation\TransformationInterface
$alias string

get() public method

public get ( string $name ) : Sulu\Bundle\MediaBundle\Media\ImageConverter\Transformation\TransformationInterface
$name string A String with the name of the image transformation to load
return Sulu\Bundle\MediaBundle\Media\ImageConverter\Transformation\TransformationInterface