private function Parser::isCurrentLineEmpty in Lockr 7.3
Returns true if the current line is blank or if it is a comment line.
Return value
bool Returns true if the current line is empty or if it is a comment line, false otherwise
4 calls to Parser::isCurrentLineEmpty()
- Parser::doParse in vendor/
symfony/ yaml/ Parser.php - Parser::getNextEmbedBlock in vendor/
symfony/ yaml/ Parser.php - Returns the next embed block of YAML.
- Parser::isNextLineIndented in vendor/
symfony/ yaml/ Parser.php - Returns true if the next line is indented.
- Parser::isNextLineUnIndentedCollection in vendor/
symfony/ yaml/ Parser.php - Returns true if the next line starts unindented collection.
File
- vendor/
symfony/ yaml/ Parser.php, line 933
Class
- Parser
- Parser parses YAML strings to convert them to PHP arrays.
Namespace
Symfony\Component\YamlCode
private function isCurrentLineEmpty() {
return $this
->isCurrentLineBlank() || $this
->isCurrentLineComment();
}