DevCraft Документации
РазработкиAPI WrappersWebShare Proxy PHP WrapperСправочникClasses

App v1.0.0

Фасад библиотеки: init, Client, Cache, Requests discovery.

Описание: Фасад библиотеки: init, Client, Cache, Requests discovery.

Namespace: Devcraft\Webshare\Classes

С версии: 1.0.0

См. также:

Public properties

  • public static bool $debug =
  • public static function init(?string $apiKey = NULL, bool $force =
  • public static function newClient(?string $url = NULL, ?string $version = NULL, ?string $key =

Methods

init(?string $apiKey = NULL, bool $force = false): void

Параметры: ?string $apiKey = NULL, bool $force = false

Возвращает: void

resetForTests(): void

Возвращает: void

defineApiKey(string $apiKey): void

Параметры: string $apiKey

Возвращает: void

Cache(): TagAwareCacheInterface

Возвращает: TagAwareCacheInterface

Client(): Client

Возвращает: Client

newClient(?string $url = NULL, ?string $version = NULL, ?string $key = NULL): Client

Параметры: ?string $url = NULL, ?string $version = NULL, ?string $key = NULL

Возвращает: Client

Requests(string $requestType): AbstractRequest|null

Параметры: string $requestType

Возвращает: AbstractRequest|null

cacheEnabled(): bool

Возвращает: bool

cacheLifetime(): int

Возвращает: int

iterateMaxPages(): int

Возвращает: int

Debug(): bool

Возвращает: bool

На этой странице