Laravel\Lumen\Application::withEloquent PHP Method

withEloquent() public method

Load the Eloquent library for the application.
public withEloquent ( ) : void
return void
    public function withEloquent()
    {
        $this->make('db');
    }

Usage Example

コード例 #1
0
 /**
  * Load the Eloquent library for the application.
  *
  * @return void 
  * @static 
  */
 public static function withEloquent()
 {
     \Laravel\Lumen\Application::withEloquent();
 }