PHP Class Pimcore\Console\AbstractCommand

Inheritance: extends Symfony\Component\Console\Command\Command
Afficher le fichier Open project: pimcore/pimcore Class Usage Examples

Protected Properties

Свойство Type Description
$dumper Pimcore\Console\Dumper
$input Symfony\Component\Console\Input\InputInterface
$logger Psr\Log\LoggerInterface
$output Symfony\Component\Console\Output\ConsoleOutput

Méthodes protégées

Méthode Description
disableLogging ( )
dump ( mixed $data, null | integer $flags = null )
dumpVerbose ( mixed $data, null | integer $flags = null )
getLogLevel ( ) : null | string Get log level - default to warning, but show all messages in verbose mode
getLogger ( ) : Logger | Psr\Log\LoggerInterface
initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
initializeLogging ( ) Initialize logging
writeError ( $message )

Method Details

disableLogging() protected méthode

protected disableLogging ( )

dump() protected méthode

protected dump ( mixed $data, null | integer $flags = null )
$data mixed
$flags null | integer

dumpVerbose() protected méthode

protected dumpVerbose ( mixed $data, null | integer $flags = null )
$data mixed
$flags null | integer

getLogLevel() protected méthode

Get log level - default to warning, but show all messages in verbose mode
protected getLogLevel ( ) : null | string
Résultat null | string

getLogger() protected méthode

protected getLogger ( ) : Logger | Psr\Log\LoggerInterface
Résultat Monolog\Logger | Psr\Log\LoggerInterface

initialize() protected méthode

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

initializeLogging() protected méthode

Initialize logging
protected initializeLogging ( )

writeError() protected méthode

protected writeError ( $message )
$message

Property Details

$dumper protected_oe property

protected Dumper,Pimcore\Console $dumper
Résultat Pimcore\Console\Dumper

$input protected_oe property

protected InputInterface,Symfony\Component\Console\Input $input
Résultat Symfony\Component\Console\Input\InputInterface

$logger protected_oe property

protected LoggerInterface,Psr\Log $logger
Résultat Psr\Log\LoggerInterface

$output protected_oe property

protected ConsoleOutput,Symfony\Component\Console\Output $output
Résultat Symfony\Component\Console\Output\ConsoleOutput