private function Parser::isStringUnIndentedCollectionItem in Plug 7
Returns true if the string is un-indented collection item.
Return value
bool Returns true if the string is un-indented collection item, false otherwise
2 calls to Parser::isStringUnIndentedCollectionItem()
- Parser::getNextEmbedBlock in lib/
Symfony/ yaml/ Symfony/ Component/ Yaml/ Parser.php - Returns the next embed block of YAML.
- Parser::isNextLineUnIndentedCollection in lib/
Symfony/ yaml/ Symfony/ Component/ Yaml/ Parser.php - Returns true if the next line starts unindented collection.
File
- lib/
Symfony/ yaml/ Symfony/ Component/ Yaml/ Parser.php, line 693
Class
- Parser
- Parser parses YAML strings to convert them to PHP arrays.
Namespace
Symfony\Component\YamlCode
private function isStringUnIndentedCollectionItem() {
return 0 === strpos($this->currentLine, '- ');
}