Traits
StdinAwareTrait provides the implementation for StdinAwareInterface.
A structured data object may contains some elements that are actually metadata. Metadata is not included in the output of tabular data formatters (e.g. table, csv), although some of these (e.g. table) may render the metadata alongside the data. Raw data formatters (e.g. yaml, json) will render both the data and the metadata.
Provides a default implementation of isValidDataType.
Inflection trait for the site alias manager.
Common implementation of some SiteAlias methods.
A copy of \Drupal\Core\DependencyInjection\AutowireTrait with first params' type hint changed.
Note: when using this trait, also implement ConfigAwareInterface/ConfigAwareTrait.
CliTestTrait provides an execute()
method that is useful
for launching executable programs in functional tests.
DrushTestTrait provides a drush()
method that may be
used to write functional tests for Drush extensions.
OutputUtilsTrait provides some useful utility methods for test classes
that define getOutputRaw()
and getErrorOutputRaw()
methods.
Use this to add arguments and options to the $arguments property.
This task can receive commands from task implementing CommandInterface.
Simplifies generating of configuration chanined methods.
This task is supposed to be executed as shell command.
This task specifies exactly one shell command.
Class ExecTrait
Task input/output methods. TaskIO is 'used' in BaseTask, so any task that extends this class has access to all of the methods here.
Task input/output methods. TaskIO is 'used' in BaseTask, so any task that extends this class has access to all of the methods here.