PHP Class AsseticBundle\Cli\SetupCommand

Inheritance: extends Symfony\Component\Console\Command\Command
Show file Open project: widmogrod/zf2-assetic-module

Public Methods

Method Description
__construct ( Service $assetic ) Constructor.

Protected Methods

Method Description
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : null | integer Executes the current command.

Private Methods

Method Description
createPath ( Symfony\Component\Console\Output\OutputInterface $output, string $which, string $path, integer $mode ) : boolean Creates a path with the needed permissions

Method Details

__construct() public method

Constructor.
public __construct ( Service $assetic )
$assetic AsseticBundle\Service

execute() protected method

Executes the current command.
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : null | integer
$input Symfony\Component\Console\Input\InputInterface An InputInterface instance
$output Symfony\Component\Console\Output\OutputInterface An OutputInterface instance
return null | integer null or 0 if everything went fine, or an error code