PHP Class Mmoreram\PHPFormatter\Command\UseSortCommand

Inheritance: extends Symfony\Component\Console\Command\Command
Datei anzeigen Open project: mmoreram/php-formatter Class Usage Examples

Protected Methods

Method Description
configure ( ) configure.
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | null | void Execute command.

Private Methods

Method Description
createUseSorter ( array $options ) : UseSorter Create UseSorter Object given a configuration.
getUsableConfig ( Symfony\Component\Console\Input\InputInterface $input ) : array Load config.
parseAndFixFiles ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, IteratorAggregate $files, array $options ) : UseSortCommand Parse and fix all files found.
printConfigUsed ( Symfony\Component\Console\Output\OutputInterface $output, array $options ) : UseSortCommand Print the configuration used by the command.
printDryRunMessage ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, string $path ) : UseSortCommand Print the Dry-run message if needed.

Method Details

configure() protected method

configure.
protected configure ( )

execute() protected method

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