Jade\Compiler\CodeHandler::isQuotedString PHP Method

isQuotedString() protected method

protected isQuotedString ( )
    protected function isQuotedString()
    {
        $firstChar = substr($this->input, 0, 1);
        $lastChar = substr($this->input, -1);
        return false !== strpos('"\'', $firstChar) && $lastChar === $firstChar;
    }