PHP Class Hostnet\Bundle\WebpackBundle\Command\CompileCommand

Author: Harold Iedema ([email protected])
Inheritance: extends Symfony\Component\Console\Command\Command
Show file Open project: hostnet/webpack-bundle Class Usage Examples

Public Methods

Method Description
__construct ( CacheGuard $guard ) Create and configure webpack:compile command.

Protected Methods

Method Description
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Execute the webpack:compile command (basicly forwards the logic to CacheGuard::validate).

Method Details

__construct() public method

Create and configure webpack:compile command.
public __construct ( CacheGuard $guard )
$guard Hostnet\Component\Webpack\Asset\CacheGuard Guards the cache and is able to rebuild/update it.

execute() protected method

{@inheritDoc}
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface