class Formatter (View source)

This Attribute is designed to be used with Console style commands, not Annotated Commands.

Methods

__construct(string|null $returnType = null, string|null $defaultFormatter = 'table')

No description

Details

__construct(string|null $returnType = null, string|null $defaultFormatter = 'table')

No description

Parameters

string|null $returnType

The command's return type, before formatting.

string|null $defaultFormatter

The fallback formatter.