Merge branch 'develop'
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 {
|
||||
}
|
24
composer.json
Normal file
24
composer.json
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"name": "provm/view",
|
||||
"description": "View wrapper for slim-blade-view",
|
||||
"type": "library",
|
||||
"require": {
|
||||
"rubellum/slim-blade-view": "^0.1.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^9.2",
|
||||
"kint-php/kint": "^3.3"
|
||||
},
|
||||
"license": "proprietary",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Aldarien",
|
||||
"email": "aldarien85@gmail.com"
|
||||
}
|
||||
],
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"ProVM\\Common\\": "./common"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user