classUsageText
final class UsageText
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
What the command prints when it is asked how to be used.
Methods§
public function __construct(ExtensionRegistry $extensions, ReporterRegistry $reporters)Builds the help over the extensions and reporters a run has available.
Parameters
$extensions | ExtensionRegistry | |
$reporters | ReporterRegistry |
public function help(): stringpublic function extensions(): stringThe extensions, one per line.
Returns
stringTest cases 1
Called from 1
Calls 3
- method-call ExtensionRegistry::all() line 80
- function-call
sprintfline 81 - function-call
implodeline 84
public function reporters(): stringThe reporters, one per line.
Returns
stringTest cases 1
Called from 1
Calls 3
- method-call ReporterRegistry::all() line 93
- function-call
sprintfline 94 - function-call
implodeline 97
Private surface 2§
Implementation details, listed for orientation only.
private ExtensionRegistry $extensionsprivate ReporterRegistry $reportersTest cases 4§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 3
Other tests reaching this symbol 1
CatalogCommandTestcalls
Relations§
Instantiated in 1
Method calls 3
- method-call SqlCatalog\Cli\CatalogCommand::answerQuery() packages/sql-catalog/src/Cli/CatalogCommand.php:116
- method-call SqlCatalog\Cli\CatalogCommand::answerQuery() packages/sql-catalog/src/Cli/CatalogCommand.php:119
- method-call SqlCatalog\Cli\CatalogCommand::answerQuery() packages/sql-catalog/src/Cli/CatalogCommand.php:122