PHP Class SensioLabs\Deptrac\OutputFormatterFactory

Afficher le fichier Open project: sensiolabs-de/deptrac Class Usage Examples

Protected Properties

Свойство Type Description
$formatters SensioLabs\Deptrac\OutputFormatter\OutputFormatterInterface[]

Méthodes publiques

Méthode Description
__construct ( array $formatters )
getActiveFormatters ( Symfony\Component\Console\Input\InputInterface $input ) : SensioLabs\Deptrac\OutputFormatter\OutputFormatterInterface[]
getFormatterByName ( $name ) : SensioLabs\Deptrac\OutputFormatter\OutputFormatterInterface
getFormatterOptions ( ) : Symfony\Component\Console\Input\InputOption[]
getOutputFormatterInput ( SensioLabs\Deptrac\OutputFormatter\OutputFormatterInterface $outputFormatter, Symfony\Component\Console\Input\InputInterface $input ) : OutputFormatterInput

Private Methods

Méthode Description
isFormatterActive ( SensioLabs\Deptrac\OutputFormatter\OutputFormatterInterface $formatter, Symfony\Component\Console\Input\InputInterface $input ) : boolean

Method Details

__construct() public méthode

public __construct ( array $formatters )
$formatters array

getActiveFormatters() public méthode

public getActiveFormatters ( Symfony\Component\Console\Input\InputInterface $input ) : SensioLabs\Deptrac\OutputFormatter\OutputFormatterInterface[]
$input Symfony\Component\Console\Input\InputInterface
Résultat SensioLabs\Deptrac\OutputFormatter\OutputFormatterInterface[]

getFormatterByName() public méthode

public getFormatterByName ( $name ) : SensioLabs\Deptrac\OutputFormatter\OutputFormatterInterface
$name
Résultat SensioLabs\Deptrac\OutputFormatter\OutputFormatterInterface

getFormatterOptions() public méthode

public getFormatterOptions ( ) : Symfony\Component\Console\Input\InputOption[]
Résultat Symfony\Component\Console\Input\InputOption[]

getOutputFormatterInput() public méthode

public getOutputFormatterInput ( SensioLabs\Deptrac\OutputFormatter\OutputFormatterInterface $outputFormatter, Symfony\Component\Console\Input\InputInterface $input ) : OutputFormatterInput
$outputFormatter SensioLabs\Deptrac\OutputFormatter\OutputFormatterInterface
$input Symfony\Component\Console\Input\InputInterface
Résultat SensioLabs\Deptrac\OutputFormatter\OutputFormatterInput

Property Details

$formatters protected_oe property

protected OutputFormatterInterface[],SensioLabs\Deptrac\OutputFormatter $formatters
Résultat SensioLabs\Deptrac\OutputFormatter\OutputFormatterInterface[]