Symfony\Component\Yaml\Parser::isStringUnIndentedCollectionItem PHP Method

isStringUnIndentedCollectionItem() private method

Returns true if the string is un-indented collection item.
private isStringUnIndentedCollectionItem ( ) : boolean
return boolean Returns true if the string is un-indented collection item, false otherwise
    private function isStringUnIndentedCollectionItem()
    {
        return '-' === rtrim($this->currentLine) || 0 === strpos($this->currentLine, '- ');
    }