|
| __construct (string $name=null, callable $directoryIteratorProvider=null, callable $isReadableProvider=null) |
|
| complete (CompletionInput $input, CompletionSuggestions $suggestions) |
|
Fonctions membres publiques hérités de Command |
| __construct (string $name=null) |
|
| ignoreValidationErrors () |
|
| setApplication (Application $application=null) |
|
| setHelperSet (HelperSet $helperSet) |
|
| getHelperSet () |
|
| getApplication () |
|
| isEnabled () |
|
| run (InputInterface $input, OutputInterface $output) |
|
| complete (CompletionInput $input, CompletionSuggestions $suggestions) |
|
| setCode (callable $code) |
|
| mergeApplicationDefinition (bool $mergeArgs=true) |
|
| setDefinition ($definition) |
|
| getDefinition () |
|
| getNativeDefinition () |
|
| addArgument (string $name, int $mode=null, string $description='', $default=null) |
|
| addOption (string $name, $shortcut=null, int $mode=null, string $description='', $default=null) |
|
| setName (string $name) |
|
| setProcessTitle (string $title) |
|
| getName () |
|
| setHidden (bool $hidden) |
|
| isHidden () |
|
| setDescription (string $description) |
|
| getDescription () |
|
| setHelp (string $help) |
|
| getHelp () |
|
| getProcessedHelp () |
|
| setAliases (iterable $aliases) |
|
| getAliases () |
|
| getSynopsis (bool $short=false) |
|
| addUsage (string $usage) |
|
| getUsages () |
|
| getHelper (string $name) |
|
Validates YAML files syntax and outputs encountered errors.
- Auteur
- Grégoire Pineau lyrix.nosp@m.x@ly.nosp@m.rixx..nosp@m.info
-
Robin Chalas robin.nosp@m..cha.nosp@m.las@g.nosp@m.mail.nosp@m..com
◆ __construct()
__construct |
( |
string |
$name = null , |
|
|
callable |
$directoryIteratorProvider = null , |
|
|
callable |
$isReadableProvider = null |
|
) |
| |
◆ complete()
◆ configure()
◆ display()
◆ displayJson()
◆ displayTxt()
displayTxt |
( |
SymfonyStyle |
$io, |
|
|
array |
$filesInfo, |
|
|
bool |
$errorAsGithubAnnotations = false |
|
) |
| |
|
private |
◆ execute()
◆ getDirectoryIterator()
getDirectoryIterator |
( |
string |
$directory | ) |
|
|
private |
◆ getFiles()
getFiles |
( |
string |
$fileOrDirectory | ) |
|
|
private |
◆ getParser()
◆ isReadable()
isReadable |
( |
string |
$fileOrDirectory | ) |
|
|
private |
◆ validate()
validate |
( |
string |
$content, |
|
|
int |
$flags, |
|
|
string |
$file = null |
|
) |
| |
|
private |
◆ $defaultDescription
$defaultDescription = 'Lint a YAML file and outputs encountered errors' |
|
staticprotected |
◆ $defaultName
$defaultName = 'lint:yaml' |
|
staticprotected |
◆ $directoryIteratorProvider
$directoryIteratorProvider |
|
private |
◆ $displayCorrectFiles
◆ $format
◆ $isReadableProvider
◆ $parser
La documentation de cette classe a été générée à partir du fichier suivant :