class StatusCommands extends DrushCommands implements SiteAliasManagerAwareInterface (View source)

Traits

SiteAliasManagerAwareTrait
ProcessManagerAwareTrait
LoggerAwareTrait
IO
ConfigAwareTrait

Constants

REQ

OPT

EXIT_SUCCESS

EXIT_FAILURE

Methods

getConfig()

Replaces same method in ConfigAwareTrait in order to provide a DrushConfig as return type. Helps with IDE completion.

__construct()

No description

LoggerInterface
logger()

Returns a logger object.

io()

Override Robo's IO function with our custom style.

printFile(string $file)

Print the contents of a file.

PropertyList
status($filter = '', $options = ['project' => self::REQ, 'format' => 'table'])

An overview of the environment - Drush and Drupal.

getPropertyList($options)

No description

renderStatusCell($key, $cellData, FormatterOptions $options)

No description

adjustStatusOptions(CommandData $commandData)

No description

static array
pathAliases(array $options, BootstrapManager $boot_manager, $boot)

No description

Details

DrushConfig getConfig()

Replaces same method in ConfigAwareTrait in order to provide a DrushConfig as return type. Helps with IDE completion.

__construct()

protected LoggerInterface logger()

Returns a logger object.

Return Value

LoggerInterface

protected io()

Override Robo's IO function with our custom style.

protected printFile(string $file)

Print the contents of a file.

Parameters

string $file Full path to a file.

PropertyList status($filter = '', $options = ['project' => self::REQ, 'format' => 'table'])

An overview of the environment - Drush and Drupal.

Parameters

$filter
$options

Return Value

PropertyList

getPropertyList($options)

Parameters

$options

renderStatusCell($key, $cellData, FormatterOptions $options)

Parameters

$key
$cellData
FormatterOptions $options

adjustStatusOptions(CommandData $commandData)

Parameters

CommandData $commandData

static array pathAliases(array $options, BootstrapManager $boot_manager, $boot)

Parameters

array $options
BootstrapManager $boot_manager
$boot

Return Value

array