Atrauzzi\LaravelDoctrine\ServiceProvider::boot PHP Method

boot() public method

Bootstrap the application events.
public boot ( ) : void
return void
    public function boot()
    {
        // register enumerations as a doctrine type
        $this->app->make('doctrine.connection')->getDatabasePlatform()->registerDoctrineTypeMapping('enum', 'string');
        $this->registerCustomTypes();
        $this->publishes([__DIR__ . '/..' . '/config/doctrine.php' => config_path('doctrine.php')], 'config');
        $this->commands(['Atrauzzi\\LaravelDoctrine\\Console\\CreateSchemaCommand', 'Atrauzzi\\LaravelDoctrine\\Console\\UpdateSchemaCommand', 'Atrauzzi\\LaravelDoctrine\\Console\\DropSchemaCommand']);
        $this->extendsAuth();
    }