Entry point to the framework.
More...
|
| __call (string $name, array $args) |
| Call to inaccessible method. More...
|
|
| __get (string $name) |
| Getter for inaccessible properties. More...
|
|
| __set (string $name, $value) |
| Setter for inaccessible properties. More...
|
|
Entry point to the framework.
All that is needed is to provide a EPF::Model to this class, and call EPF::run
◆ enableDebug()
static EPF::enableDebug |
( |
bool |
$active = true | ) |
|
|
static |
Set debug mode.
- Parameters
-
[in] | bool | $active | Wether to enable or disable debug mode |
◆ registerSAPI()
static EPF::registerSAPI |
( |
string |
$name, |
|
|
SAPI |
$sapi |
|
) |
| |
|
static |
Registers a SAPI.
- Parameters
-
- Exceptions
-
EPF::Error::AlreadySet | SAPI already registered |
◆ setModel()
static EPF::setModel |
( |
Model |
$model | ) |
|
|
static |
Set the application model.
- Parameters
-
◆ setSAPI()
static EPF::setSAPI |
( |
SAPI |
$sapi = null | ) |
|
|
static |
Set SAPI to use.
- Parameters
-
- Exceptions
-
EPF::Error::UnknownSAPI | Unknown PHP SAPI |
The documentation for this class was generated from the following file: