PHP Class Sulu\Bundle\MediaBundle\DependencyInjection\ImageFormatCompilerPass

Inheritance: implements Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface
显示文件 Open project: sulu/sulu

Protected Properties

Property Type Description
$container Symfony\Component\DependencyInjection\ContainerBuilder

Public Methods

Method Description
process ( ContainerBuilder $container ) You can modify the container here before it is dumped to PHP code.

Protected Methods

Method Description
loadImageFormats ( array $globalOptions ) : array
setFormatsFromFile ( $fullPath, &$activeFormats, $globalOptions )

Method Details

loadImageFormats() protected method

protected loadImageFormats ( array $globalOptions ) : array
$globalOptions array
return array

process() public method

You can modify the container here before it is dumped to PHP code.
public process ( ContainerBuilder $container )
$container Symfony\Component\DependencyInjection\ContainerBuilder

setFormatsFromFile() protected method

protected setFormatsFromFile ( $fullPath, &$activeFormats, $globalOptions )
$fullPath
$activeFormats
$globalOptions

Property Details

$container protected_oe property

protected ContainerBuilder,Symfony\Component\DependencyInjection $container
return Symfony\Component\DependencyInjection\ContainerBuilder