use seekat\API;
use seekat\Exception;
-class Call
+final class Call
{
/**
* @var API
/* fetch resource, unless already localized, and try for {$method}_url */
if (!$this->api->exists($this->call)) {
- $promise = $promise->otherwise(function ($error) use($args) {
+ $promise = $promise->otherwise(function($error) use($args) {
if ($this->api->exists($this->call."_url", $url)) {
$url = new Url(uri_template($url, (array)current($args)));
return $this->api->withUrl($url)->get(...$args);
use seekat\API\Call\Cache\Service\Hollow;
-class Cache
+final class Cache
{
/**
* @var Service
use http\{
Client, Client\Request, Client\Response
};
-use React\Promise\ExtendedPromiseInterface;
use seekat\API;
use SplObserver;
use SplSubject;
-class Deferred extends \React\Promise\Deferred implements SplObserver
+final class Deferred extends \React\Promise\Deferred implements SplObserver
{
/**
* The response importer
function all
};
-class Consumer extends Deferred
+final class Consumer extends Deferred
{
/**
* The HTTP client
Header, Message\Body
};
-class ContentType
+final class ContentType
{
/**
* API version
use Iterator as BaseIterator;
use seekat\API;
-class Iterator implements BaseIterator
+final class Iterator implements BaseIterator
{
/**
* The endpoint
};
use Serializable;
-class Links implements Serializable
+final class Links implements Serializable
{
/**
* Parsed "Link" relations