private function Parser::isCurrentLineEmpty

Returns true if the current line is blank or if it is a comment line.

Return value

Boolean Returns true if the current line is empty or if it is a comment line, false otherwise

4 calls to Parser::isCurrentLineEmpty()
Parser::getNextEmbedBlock in drupal/core/vendor/symfony/yaml/Symfony/Component/Yaml/Parser.php
Returns the next embed block of YAML.
Parser::isNextLineIndented in drupal/core/vendor/symfony/yaml/Symfony/Component/Yaml/Parser.php
Returns true if the next line is indented.
Parser::isNextLineUnIndentedCollection in drupal/core/vendor/symfony/yaml/Symfony/Component/Yaml/Parser.php
Returns true if the next line starts unindented collection
Parser::parse in drupal/core/vendor/symfony/yaml/Symfony/Component/Yaml/Parser.php
Parses a YAML string to a PHP value.

File

drupal/core/vendor/symfony/yaml/Symfony/Component/Yaml/Parser.php, line 508

Class

Parser
Parser parses YAML strings to convert them to PHP arrays.

Namespace

Symfony\Component\Yaml

Code

private function isCurrentLineEmpty() {
  return $this
    ->isCurrentLineBlank() || $this
    ->isCurrentLineComment();
}