PHP Class Naneau\Obfuscator\Console\Command\ObfuscateCommand

Obfuscating command
Inheritance: extends Symfony\Component\Console\Command\Command
显示文件 Open project: naneau/php-obfuscator

Public Methods

Method Description
getContainer ( ) : Naneau\Obfuscator\Container Get the container
getObfuscator ( ) : Obfuscator Get the obfuscator
setContainer ( Naneau\Obfuscator\Container $container ) : ObfuscateCommand Set the container

Protected Methods

Method Description
configure ( ) : void Configure the command
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : void Execute the command

Private Methods

Method Description
copyDir ( string $from, string $to ) : ObfuscateCommand Copy a directory
finalizeContainer ( Symfony\Component\Console\Input\InputInterface $input ) : ObfuscateCommand Finalize the container

Method Details

configure() protected method

Configure the command
protected configure ( ) : void
return void

execute() protected method

Execute the command
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : void
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
return void

getContainer() public method

Get the container
public getContainer ( ) : Naneau\Obfuscator\Container
return Naneau\Obfuscator\Container

getObfuscator() public method

Get the obfuscator
public getObfuscator ( ) : Obfuscator
return Naneau\Obfuscator\Obfuscator

setContainer() public method

Set the container
public setContainer ( Naneau\Obfuscator\Container $container ) : ObfuscateCommand
$container Naneau\Obfuscator\Container
return ObfuscateCommand