private function Parser::isBlockScalarHeader in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/symfony/yaml/Symfony/Component/Yaml/Parser.php \Symfony\Component\Yaml\Parser::isBlockScalarHeader()
Tests whether or not the current line is the header of a block scalar.
Return value
bool
1 call to Parser::isBlockScalarHeader()
- Parser::getNextEmbedBlock in vendor/
symfony/ yaml/ Parser.php - Returns the next embed block of YAML.
File
- vendor/
symfony/ yaml/ Parser.php, line 806
Class
- Parser
- Parser parses YAML strings to convert them to PHP arrays.
Namespace
Symfony\Component\YamlCode
private function isBlockScalarHeader() {
return (bool) self::preg_match('~' . self::BLOCK_SCALAR_HEADER_PATTERN . '$~', $this->currentLine);
}