FormatterListener
final class FormatterListener (View source)
Traits
A copy of \Drupal\Core\DependencyInjection\AutowireTrait with first params' type hint changed.
Methods
static
create(ContainerInterface $container)
Instantiates a new instance of the implementing class using autowiring.
from
AutowireTrait
void
array
getConfigurationData(ReflectionObject $reflection)
Build the formatter configuration from the command's attributes
mixed
getPrivatePropValue(mixed $object, $name)
No description
Details
static
create(ContainerInterface $container)
Instantiates a new instance of the implementing class using autowiring.
__construct(FormatterManager $formatterManager)
No description
void
__invoke(ConsoleDefinitionsEvent $event)
No description
protected array
getConfigurationData(ReflectionObject $reflection)
Build the formatter configuration from the command's attributes
protected mixed
getPrivatePropValue(mixed $object, $name)
No description