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:
16
application/module/users/interfaces/users.php
Normal file
16
application/module/users/interfaces/users.php
Normal 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
|
||||
{
|
||||
|
||||
}
|
||||
16
application/module/users/traits/users.php
Normal file
16
application/module/users/traits/users.php
Normal 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
|
||||
{
|
||||
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user