Coduo\PHPMatcher\Lexer::isStringToken PHP Method

isStringToken() protected method

protected isStringToken ( $value ) : boolean
$value
return boolean
    protected function isStringToken($value)
    {
        return in_array(substr($value, 0, 1), array("\"", "'"));
    }