MAPG-86 refactor view-controller
This commit is contained in:
1 parent
b0b244712f
commit
88fe7b7a03
7 files changed
+62
-17
No files matched your search
@@ -0,0 +1,10 @@
|
||||
<?php namespace MapGuesser\Interfaces\Response;
|
||||
|
||||
interface IContent
|
||||
{
|
||||
public function &getData(): array;
|
||||
|
||||
public function &render(): string;
|
||||
|
||||
public function getContentType(): string;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php namespace MapGuesser\Interfaces\Response;
|
||||
|
||||
interface IRedirect
|
||||
{
|
||||
const PERMANENT = 1;
|
||||
|
||||
const TEMPORARY = 2;
|
||||
|
||||
public function getUrl(): string;
|
||||
|
||||
public function getHttpCode(): int;
|
||||
}
|
||||
Reference in new issue
Block a user