Slim View
This commit is contained in:
8
common/Alias/View.php
Normal file
8
common/Alias/View.php
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?php
|
||||||
|
namespace ProVM\Common\Alias;
|
||||||
|
|
||||||
|
use Psr\Http\Message\ResponseInterface as Response;
|
||||||
|
|
||||||
|
interface View {
|
||||||
|
public function render(Response $response, $template, array $data = []);
|
||||||
|
}
|
8
common/Define/View.php
Normal file
8
common/Define/View.php
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?php
|
||||||
|
namespace ProVM\Common\Define;
|
||||||
|
|
||||||
|
use Slim\Views\Blade;
|
||||||
|
use ProVM\Common\Alias\View as ViewInterface;
|
||||||
|
|
||||||
|
class View extends Blade implements ViewInterface {
|
||||||
|
}
|
Reference in New Issue
Block a user