Свойство | Type | Description | |
---|---|---|---|
$app | Slim\Slim | ||
$eloquent | |||
$instance |
Méthode | Description | |
---|---|---|
__construct ( Slim\Slim $app = null ) | Default constructor | |
bootstrap ( ) : void | Bootstrap the framework | |
getApp ( ) : Slim\Slim | Get app instance | |
getEloquent ( ) : |
Get eloquent database instance | |
getInstance ( ) | Get a singleton based Database object | |
setApp ( Slim\Slim $app = null, array $args = [] ) | Set app instance | |
setEloquent ( ) | Set eloquent database |
Méthode | Description | |
---|---|---|
loadRoutes ( ) : void | Load framework app routes |
public __construct ( Slim\Slim $app = null ) | ||
$app | Slim\Slim |
public getEloquent ( ) : |
||
Résultat |
public static getInstance ( ) |