function LintCommand::isReadable
1 call to LintCommand::isReadable()
- LintCommand::execute in vendor/
symfony/ yaml/ Command/ LintCommand.php - Executes the current command.
File
-
vendor/
symfony/ yaml/ Command/ LintCommand.php, line 254
Class
- LintCommand
- Validates YAML files syntax and outputs encountered errors.
Namespace
Symfony\Component\Yaml\CommandCode
private function isReadable(string $fileOrDirectory) : bool {
$default = is_readable(...);
if (null !== $this->isReadableProvider) {
return ($this->isReadableProvider)($fileOrDirectory, $default);
}
return $default($fileOrDirectory);
}