src/components/SettingsStorage.php
private function perform($action, $data)
    {
        if ($this->app->user->isGuest) {
            return [];
        }

        return Client::perform($action, $data);
    }
private function perform($action, $data)
    {
        if ($this->app->user->isGuest) {
            return [];
        }

        return Client::perform($action, $data);
    }
private function perform ( $ action , $ data ) { if ( $ this -> app -> user -> isGuest ) { return [ ] ; } return Client :: perform ( $ action , $ data ) ; }
Performs request to the API.
@param string $key
@param array $value
@return array
Performs request to the API .