Created
February 15, 2017 15:35
-
-
Save khoatran/35be6762230de2a5494bdf01154fe1a1 to your computer and use it in GitHub Desktop.
Create OctoberCMS module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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