generated from Potter/Template
move to sub-namespace
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Potter\Request;
|
||||
namespace Potter\Request\Contracts;
|
||||
|
||||
use \Psr\Http\Message\ServerRequestInterface as PsrServerRequestInterface;
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Potter\Request;
|
||||
namespace Potter\Request\Contracts;
|
||||
|
||||
use \Psr\Http\Message\ServerRequestInterface as PsrServerRequestInterface;
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Potter\Request;
|
||||
namespace Potter\Request\Contracts;
|
||||
|
||||
use \Psr\Http\Message\RequestInterface as PsrRequestInterface;
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Potter\Request;
|
||||
namespace Potter\Request\Contracts;
|
||||
|
||||
use \Psr\Http\Message\ServerRequestInterface as PsrServerRequestInterface;
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Potter\Request;
|
||||
namespace Potter\Request\Contracts;
|
||||
|
||||
use \Psr\Http\Message\RequestInterface as PsrRequestInterface;
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Potter\Request;
|
||||
namespace Potter\Request\Contracts;
|
||||
|
||||
use \Psr\Http\Message\ServerRequestInterface as PsrServerRequestInterface;
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Potter\Request;
|
||||
namespace Potter\Request\Contracts;
|
||||
|
||||
use \Psr\Http\Message\RequestInterface as PsrRequestInterface;
|
||||
|
||||
@@ -5,6 +5,9 @@ declare(strict_types=1);
|
||||
namespace Potter\Request;
|
||||
|
||||
use \Psr\Http\Message\RequestInterface as PsrRequestInterface;
|
||||
use \Potter\Request\Contracts\RequestMethodInterface;
|
||||
use \Potter\Request\Contracts\RequestTargetInterface;
|
||||
use \Potter\Request\Contracts\RequestUriInterface;
|
||||
|
||||
interface RequestInterface extends PsrRequestInterface,
|
||||
RequestMethodInterface, RequestTargetInterface, RequestUriInterface
|
||||
|
||||
@@ -5,9 +5,12 @@ declare(strict_types=1);
|
||||
namespace Potter\Request;
|
||||
|
||||
use \Psr\Http\Message\ServerRequestInterface as PsrServerRequestInterface;
|
||||
use \Potter\Request\Contracts\ParsedBodyInterface;
|
||||
use \Potter\Request\Contracts\RequestAttributeInterface;
|
||||
use \Potter\Request\Contracts\RequestParameterInterface;
|
||||
use \Potter\Request\Contracts\RequestUploadInterface;
|
||||
|
||||
interface ServerRequestInterface extends PsrServerRequestInterface,
|
||||
RequestInterface, RequestAttributeInterface,
|
||||
RequestParameterInterface, RequestUploadInterface,
|
||||
ParsedBodyInterface
|
||||
RequestInterface, ParsedBodyInterface, RequestAttributeInterface,
|
||||
RequestParameterInterface, RequestUploadInterface
|
||||
{ }
|
||||
|
||||
Reference in New Issue
Block a user