Opis\Closure\ReflectionClosure::getFileTokens PHP Method

getFileTokens() protected method

protected getFileTokens ( ) : array
return array
    protected function getFileTokens()
    {
        $key = $this->getHashedFileName();
        if (!isset(static::$files[$key])) {
            static::$files[$key] = token_get_all(file_get_contents($this->getFileName()));
        }
        return static::$files[$key];
    }