Instantly share code, notes, and snippets.

Embed
What would you like to do?
Create OctoberCMS module
use App;
use October\Rain\Support\ModuleServiceProvider;
class ServiceProvider extends ModuleServiceProvider
{
/**
* Register the service provider.
*
* @return void
*/
public function register()
{
parent::register('Api');
}
/**
* Bootstrap the module events.
*
* @return void
*/
public function boot()
{
//Override this to do nothing as in API we don't need to load unnecessary things
//parent::boot('api');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment