HummingBirdAnimeClient/src/Ion/HttpViewInterface.php

31 lines
713 B
PHP
Raw Normal View History

2021-02-11 19:54:22 -05:00
<?php declare(strict_types=1);
/**
* Hummingbird Anime List Client
*
* An API client for Kitsu to manage anime and manga watch lists
*
2023-07-13 11:08:05 -04:00
* PHP version 8.1
2021-02-11 19:54:22 -05:00
*
2023-07-13 11:08:05 -04:00
* @copyright 2015 - 2023 Timothy J. Warren <tim@timshome.page>
2021-02-11 19:54:22 -05:00
* @license http://www.opensource.org/licenses/mit-license.html MIT License
* @version 5.2
2023-07-13 11:08:05 -04:00
* @link https://git.timshomepage.net/timw4mail/HummingBirdAnimeClient
2021-02-11 19:54:22 -05:00
*/
namespace Aviat\Ion;
use InvalidArgumentException;
2021-02-11 19:54:22 -05:00
/**
* View Interface abstracting an HTTP Response
*/
interface HttpViewInterface extends ViewInterface
{
2021-02-11 19:54:22 -05:00
/**
* Set the status code of the request
*
* @throws InvalidArgumentException
2021-02-11 19:54:22 -05:00
*/
public function setStatusCode(int $code): self;
}