You are here

private function Parser::isCurrentLineBlank in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/Yaml/Parser.php \Symfony\Component\Yaml\Parser::isCurrentLineBlank()

Returns true if the current line is blank.

Return value

bool Returns true if the current line is blank, false otherwise

3 calls to Parser::isCurrentLineBlank()
Parser::getNextEmbedBlock in modules/providers/service_container_symfony/lib/Symfony/Component/Yaml/Parser.php
Returns the next embed block of YAML.
Parser::isCurrentLineEmpty in modules/providers/service_container_symfony/lib/Symfony/Component/Yaml/Parser.php
Returns true if the current line is blank or if it is a comment line.
Parser::parseFoldedScalar in modules/providers/service_container_symfony/lib/Symfony/Component/Yaml/Parser.php
Parses a folded scalar.

File

modules/providers/service_container_symfony/lib/Symfony/Component/Yaml/Parser.php, line 600

Class

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

Namespace

Symfony\Component\Yaml

Code

private function isCurrentLineBlank() {
  return '' == trim($this->currentLine, ' ');
}