PHP Class Contao\CoreBundle\DependencyInjection\Compiler\AddPackagesPass

Inheritance: implements Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface
Show file Open project: contao/core-bundle Class Usage Examples

Public Methods

Method Description
__construct ( string $jsonFile ) Constructor.
process ( ContainerBuilder $container )

Private Methods

Method Description
getVersions ( array $json ) : array Extracts the version numbers from the JSON data.

Method Details

__construct() public method

Constructor.
public __construct ( string $jsonFile )
$jsonFile string

process() public method

public process ( ContainerBuilder $container )
$container Symfony\Component\DependencyInjection\ContainerBuilder