AbstractRequest v1.0.0
Базовый Request: endpoint, QueryBuilder, request().
Описание: Базовый Request: endpoint, QueryBuilder, request().
Namespace: Devcraft\Webshare\Abstracts
Extends: AbstractBasicClass
С версии: 1.0.0
Public properties
Methods
__construct(string $endpoint, array $parameters, array $requiredFields = [])
Параметры: string $endpoint, array $parameters, array $requiredFields = []
query(): QueryBuilder
Возвращает: QueryBuilder
updateQuery(QueryBuilder $queryBuilder): void
Параметры: QueryBuilder $queryBuilder
Возвращает: void
setEndpoint(string $endpoint): void
Параметры: string $endpoint
Возвращает: void
withEndpoint(string $endpoint): self
Параметры: string $endpoint
Возвращает: self
getEndpoint(): string
Возвращает: string
`request(RequestMethod $method = RequestMethod::GET,
?string $additionalEndpoint = NULL, ?Reques...): string`
Параметры: RequestMethod $method = RequestMethod::GET, ?string $additionalEndpoint = NULL, ?RequestBody $body = NULL, ?string $apiVersion = NULL, bool $forceRefresh = false
Возвращает: string