private function getRepository()
    {
        if (!file_exists($this->storage)) {
            throw new \Exception('Tokens storage file not found.');
        }

        $file = file_get_contents($this->storage);
        return json_decode($file);
    }
private function getRepository()
    {
        if (!file_exists($this->storage)) {
            throw new \Exception('Tokens storage file not found.');
        }

        $file = file_get_contents($this->storage);
        return json_decode($file);
    }
private function getRepository ( ) { if ( ! file_exists ( $ this -> storage ) ) { throw new \ Exception ( 'Tokens storage file not found.' ) ; } $ file = file_get_contents ( $ this -> storage ) ; return json_decode ( $ file ) ; }
Gets the storage file contents and converts it into an object

@return object

@throws \Exception
Gets the storage file contents and converts it into an object