Property | Type | Description | |
---|---|---|---|
$app | Slim\Slim | ||
$eloquent | |||
$instance |
Method | 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 |
Method | Description | |
---|---|---|
loadRoutes ( ) : void | Load framework app routes |
public __construct ( Slim\Slim $app = null ) | ||
$app | Slim\Slim |
public getEloquent ( ) : |
||
return |
public static getInstance ( ) |