PHP Class Contao\CoreBundle\Image\LegacyResizer

Author: Martin Auswöger ([email protected])
Inheritance: extends Contao\Image\Resizer, use trait Contao\CoreBundle\Framework\FrameworkAwareTrait
Mostra file Open project: contao/core-bundle Class Usage Examples

Public Methods

Method Description
resize ( Contao\Image\ImageInterface $image, Contao\Image\ResizeConfigurationInterface $config, Contao\Image\ResizeOptionsInterface $options )

Protected Methods

Method Description
executeResize ( Contao\Image\ImageInterface $image, Contao\Image\ResizeCoordinatesInterface $coordinates, $path, Contao\Image\ResizeOptionsInterface $options )

Method Details

executeResize() protected method

protected executeResize ( Contao\Image\ImageInterface $image, Contao\Image\ResizeCoordinatesInterface $coordinates, $path, Contao\Image\ResizeOptionsInterface $options )
$image Contao\Image\ImageInterface
$coordinates Contao\Image\ResizeCoordinatesInterface
$options Contao\Image\ResizeOptionsInterface

resize() public method

public resize ( Contao\Image\ImageInterface $image, Contao\Image\ResizeConfigurationInterface $config, Contao\Image\ResizeOptionsInterface $options )
$image Contao\Image\ImageInterface
$config Contao\Image\ResizeConfigurationInterface
$options Contao\Image\ResizeOptionsInterface