PHP Class Spatie\Php7to5\Console\ConvertCommand

Inheritance: extends Symfony\Component\Console\Command\Command
Exibir arquivo Open project: spatie/7to5

Protected Methods

Method Description
configure ( )
convertFile ( Symfony\Component\Console\Input\InputInterface $input )
convertPHPFilesInDirectory ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer
isDestinationASourceDirectory ( string $source, string $destination )
isDestinationDifferentThanSource ( string $source, string $destination )
isEqual ( string $source, string $destination )

Method Details

configure() protected method

protected configure ( )

convertFile() protected method

protected convertFile ( Symfony\Component\Console\Input\InputInterface $input )
$input Symfony\Component\Console\Input\InputInterface

convertPHPFilesInDirectory() protected method

protected convertPHPFilesInDirectory ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

execute() protected method

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
return integer

isDestinationASourceDirectory() protected method

protected isDestinationASourceDirectory ( string $source, string $destination )
$source string
$destination string

isDestinationDifferentThanSource() protected method

protected isDestinationDifferentThanSource ( string $source, string $destination )
$source string
$destination string

isEqual() protected method

protected isEqual ( string $source, string $destination )
$source string
$destination string