Compare commits
6 Commits
6b6af7290c
...
0.0.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 30bc895d14 | |||
| 71b3802a4e | |||
| 332643448e | |||
| c86580cf3e | |||
| 63e794141f | |||
| 0d5290e254 |
@@ -0,0 +1,3 @@
|
||||
composer.lock
|
||||
/nbproject/
|
||||
/vendor/
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "potter/response",
|
||||
"type": "library",
|
||||
"license": "MIT",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Potter\\Response\\": "src/Potter/Response/"
|
||||
}
|
||||
},
|
||||
"authors": [
|
||||
{
|
||||
"name": "Jay Potter",
|
||||
"email": "j@ypotter.ca"
|
||||
}
|
||||
],
|
||||
"minimum-stability": "stable",
|
||||
"require": {
|
||||
"laminas/laminas-diactoros": "^3.8",
|
||||
"psr/http-factory": "^1.1.0",
|
||||
"psr/http-message": "^1.1.0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Potter\Response;
|
||||
|
||||
final class Html extends \Laminas\Diactoros\Response\HtmlResponse
|
||||
{ }
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Potter\Response;
|
||||
|
||||
final class Json extends \Laminas\Diactoros\Response\JsonResponse
|
||||
{ }
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Potter\Response;
|
||||
|
||||
final class Redirect extends \Laminas\Diactoros\Response\RedirectResponse
|
||||
{ }
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Potter\Response;
|
||||
|
||||
final class Text extends \Laminas\Diactoros\Response\TextResponse
|
||||
{ }
|
||||
Reference in New Issue
Block a user