Apple_Actions\API_Action::get_api PHP Метод

get_api() защищенный Метод

Get the instance of the API class.
protected get_api ( ) : API
Результат Apple_Push_API\API
    protected function get_api()
    {
        if (is_null($this->api)) {
            $this->api = new API(self::API_ENDPOINT, $this->fetch_credentials());
        }
        return $this->api;
    }