Moved all current routes to individual folders which use a class system and inherit from an interface. Moved rest of the files for a better structure and for readability. Each editable cms should have its own folder with a routes class file and data class file
Signed-off-by: rodude123 <rodude123@gmail.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace api\utils;
|
||||
|
||||
use Slim\App;
|
||||
|
||||
interface routesInterface
|
||||
{
|
||||
public function createRoutes(App $app): void;
|
||||
}
|
||||
Reference in New Issue
Block a user