From f8b6d6348ba8af67fdc5f31d9d3eb008f20a30e0 Mon Sep 17 00:00:00 2001 From: Aldarien Date: Mon, 2 Mar 2020 13:02:13 -0300 Subject: [PATCH] Model inheritance --- common/Alias/Model.php | 3 ++- composer.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/common/Alias/Model.php b/common/Alias/Model.php index 3564ef7..7c6dd52 100644 --- a/common/Alias/Model.php +++ b/common/Alias/Model.php @@ -3,8 +3,9 @@ namespace Incoviba\Common\Alias; use Stringy\Stringy; use App\Contract\Auth; +use Aldarien\Common\Alias\Model as BaseModel; -class Model extends \Model +class Model extends BaseModel { public function getTable() { diff --git a/composer.json b/composer.json index 9677c11..285af33 100644 --- a/composer.json +++ b/composer.json @@ -28,11 +28,11 @@ }, "repositories": [ { - "type": "vcs", + "type": "git", "url": "//192.168.1.100/git/models.git" }, { - "type": "vcs", + "type": "git", "url": "//192.168.1.100/git/auth.git" } ]