class MyClass {
use \MarcAndreAppel\HttpStatus\HttpStatusTrait;
public function myFunction() {
$httpStatus = $this->httpStatusCode(400);
$httpStatus->header();
print($httpStatus->message);
}
}
This repository has been archived by the owner on Sep 30, 2022. It is now read-only.
marcandreappel/http_status
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Small library to work with HTTP Status Codes
Topics
Resources
Stars
Watchers
Forks
Packages 0
No packages published