Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. LintCommand.php

function LintCommand::__construct

Overrides Command::__construct

File

vendor/symfony/yaml/Command/LintCommand.php, line 45

Class

LintCommand
Validates YAML files syntax and outputs encountered errors.

Namespace

Symfony\Component\Yaml\Command

Code

public function __construct(?string $name = null, ?callable $directoryIteratorProvider = null, ?callable $isReadableProvider = null) {
    parent::__construct($name);
    $this->directoryIteratorProvider = null === $directoryIteratorProvider ? null : $directoryIteratorProvider(...);
    $this->isReadableProvider = null === $isReadableProvider ? null : $isReadableProvider(...);
}
RSS feed
Powered by Drupal