YamlParser::isCurrentLineComment PHP Method

isCurrentLineComment() protected method

Returns true if the current line is a comment line.
protected isCurrentLineComment ( ) : boolean
return boolean Returns true if the current line is a comment line, false otherwise
    protected function isCurrentLineComment()
    {
        return 0 === strpos(ltrim($this->currentLine, ' '), '#');
    }