From e3e9264e8988fe5317bcfe02573c64ab4b75053f Mon Sep 17 00:00:00 2001 From: Aldarien Date: Wed, 22 Jul 2020 16:57:04 -0400 Subject: [PATCH 1/2] Composer: slim-blade & namespace --- composer.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 composer.json diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..7fff968 --- /dev/null +++ b/composer.json @@ -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" + } + } +} From 27646c977f0c0dd7258f706af454a7af190edbfc Mon Sep 17 00:00:00 2001 From: Aldarien Date: Wed, 22 Jul 2020 16:58:03 -0400 Subject: [PATCH 2/2] Interface & Wrapper --- common/Alias/View.php | 8 ++++++++ common/Define/View.php | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 common/Alias/View.php create mode 100644 common/Define/View.php diff --git a/common/Alias/View.php b/common/Alias/View.php new file mode 100644 index 0000000..40dbeee --- /dev/null +++ b/common/Alias/View.php @@ -0,0 +1,8 @@ +