REFACTORING: new autoloading functionallity, the modules are now structured for a better overview and module and visibility. Now the modules can also be used for bigger systems, but still are light weight.

This commit is contained in:
Stephan Kasdorf
2019-11-09 18:08:35 +01:00
parent 7e79b83767
commit 417c6c9013
7 changed files with 38 additions and 61 deletions

View File

@@ -0,0 +1,16 @@
<?php
namespace Nibiru\Module\Users\Interfaces;
/**
* @desc this file is for the autoloader to function properly,
* you might as well use it as the primary user interface for your
* application
* Created by PhpStorm.
* User: kasdorf
* Date: 28.08.18
* Time: 11:21
*/
interface Users
{
}

View File

@@ -0,0 +1,16 @@
<?php
namespace Nibiru\Module\Users\Traits;
/**
* @desc this file is for the autoloader to function properly,
* you might as well use it as the primary user trait for your
* application
* Created by PhpStorm.
* User: kasdorf
* Date: 28.08.18
* Time: 11:24
*/
trait Users
{
}

View File

@@ -1,5 +1,5 @@
<?php
namespace Nibiru\Module;
namespace Nibiru\Module\Users;
/**
* @desc this file is for the autoloader to function properly,
* you might as well use it as the primary user class for your
@@ -9,10 +9,10 @@ namespace Nibiru\Module;
* Date: 28.08.18
* Time: 11:22
*/
use Nibiru\Adapter;
use Nibiru\Messages;
use Nibiru\Module\Users\Interfaces;
use Nibiru\Module\Users\Traits;
class Users implements Adapter\Users
class Users implements Interfaces\Users
{
use Messages\Users;
use Traits\Users;
}