private function Parser::isCurrentLineBlank in Translation template extractor 6.3
Same name and namespace in other branches
- 7.3 vendor/Symfony/Component/Yaml/Parser.php \Symfony\Component\Yaml\Parser::isCurrentLineBlank()
- 7.2 vendor/Symfony/Component/Yaml/Parser.php \Symfony\Component\Yaml\Parser::isCurrentLineBlank()
Returns true if the current line is blank.
Return value
Boolean Returns true if the current line is blank, false otherwise
3 calls to Parser::isCurrentLineBlank()
- Parser::getNextEmbedBlock in vendor/
Symfony/ Component/ Yaml/ Parser.php - Returns the next embed block of YAML.
- Parser::isCurrentLineEmpty in vendor/
Symfony/ Component/ Yaml/ Parser.php - Returns true if the current line is blank or if it is a comment line.
- Parser::parseFoldedScalar in vendor/
Symfony/ Component/ Yaml/ Parser.php - Parses a folded scalar.
File
- vendor/
Symfony/ Component/ Yaml/ Parser.php, line 532
Class
- Parser
- Parser parses YAML strings to convert them to PHP arrays.
Namespace
Symfony\Component\YamlCode
private function isCurrentLineBlank() {
return '' == trim($this->currentLine, ' ');
}