You are here

private function Parser::isCurrentLineBlank in Lockr 7.3

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 vendor/symfony/yaml/Parser.php
Returns the next embed block of YAML.
Parser::isCurrentLineEmpty in vendor/symfony/yaml/Parser.php
Returns true if the current line is blank or if it is a comment line.
Parser::parseBlockScalar in vendor/symfony/yaml/Parser.php
Parses a block scalar.

File

vendor/symfony/yaml/Parser.php, line 943

Class

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

Namespace

Symfony\Component\Yaml

Code

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