Интерфейс вместо класса Site
This commit is contained in:
parent
c2b9254fd0
commit
df00756a41
5 changed files with 22 additions and 8 deletions
11
src/Controller/SiteInterface.php
Normal file
11
src/Controller/SiteInterface.php
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
namespace ctiso\Controller;
|
||||
|
||||
interface SiteInterface {
|
||||
function loadComponent($expression);
|
||||
function getDatabase();
|
||||
function getConfig();
|
||||
function setComponentConfig($config);
|
||||
function addRequireJsPath($name, $path, $schim = null);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue