-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENH] refactoring entity structure into ORM module
- Loading branch information
Showing
8 changed files
with
17 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ | |
use Wepesi\Core\Redirect; | ||
use Wepesi\Core\Session; | ||
|
||
|
||
class homeController{ | ||
|
||
/** | ||
|
6 changes: 0 additions & 6 deletions
6
src/Core/BaseEntityModel/Provider/Contract/EntityInterface.php
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
src/Core/BaseEntityModel/EntityReflexion.php → src/Core/Orm/EntityModel/EntityReflexion.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
src/Core/Orm/EntityModel/Provider/Contract/EntityInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
namespace Wepesi\Core\Orm\EntityModel\Provider\Contract; | ||
|
||
interface EntityInterface { | ||
public function findAll():array; | ||
public function findOne():array; | ||
} |
7 changes: 3 additions & 4 deletions
7
src/Core/BaseEntityModel/Provider/Entity.php → src/Core/Orm/EntityModel/Provider/Entity.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters