packbackbooks/lti-1-3-php-library

View on GitHub
src/Interfaces/IServiceRequest.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

namespace Packback\Lti1p3\Interfaces;

/** @internal */
interface IServiceRequest
{
    public function getMethod(): string;

    public function getUrl(): string;

    public function getPayload(): array;

    public function setUrl(string $url): IServiceRequest;

    public function setAccessToken(string $accessToken): IServiceRequest;

    public function setBody(string $body): IServiceRequest;

    public function setPayload(array $payload): IServiceRequest;

    public function setAccept(string $accept): IServiceRequest;

    public function setContentType(string $contentType): IServiceRequest;

    public function getErrorPrefix(): string;

    public function getMaskResponseLogs(): bool;

    public function setMaskResponseLogs(bool $maskResponseLogs): self;
}