PHP Class Sensio\Bundle\GeneratorBundle\Manipulator\KernelManipulator

Author: Fabien Potencier ([email protected])
Inheritance: extends Sensio\Bundle\GeneratorBundle\Manipulator\Manipulator
Mostra file Open project: pmjones/php-framework-benchmarks Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\HttpKernel\KernelInterface $kernel ) Constructor.
addBundle ( string $bundle ) : boolean Adds a bundle at the end of the existing ones.

Method Details

__construct() public method

Constructor.
public __construct ( Symfony\Component\HttpKernel\KernelInterface $kernel )
$kernel Symfony\Component\HttpKernel\KernelInterface A KernelInterface instance

addBundle() public method

Adds a bundle at the end of the existing ones.
public addBundle ( string $bundle ) : boolean
$bundle string The bundle class name
return boolean true if it worked, false otherwise