Hostnet\Bundle\WebpackBundle\Command\CompileCommand::__construct PHP Method

__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.
    public function __construct(CacheGuard $guard)
    {
        parent::__construct('webpack:compile');
        $this->guard = $guard;
    }