ServiceProvider
class ServiceProvider extends PoppyServiceProvider
Traits
MigrationTrait
Properties
protected array | $listens | event listener |
from PoppyServiceProvider |
protected array | $policies | policy | from PoppyServiceProvider |
Methods
requireMigrations(string $module)
Require (once) all migration files for the supplied module.
from
MigrationTrait
void
boot()
Bootstrap the application events.
void
register()
Register the service provider.
Details
in
MigrationTrait at line 18
protected
requireMigrations(string $module)
Require (once) all migration files for the supplied module.
in
MigrationTrait at line 36
protected string
getMigrationPath(string $module)
Get migration directory path.
at line 18
void
boot()
Bootstrap the application events.
in
PoppyServiceProvider at line 79
null
getModule($args)
No description
in
PoppyServiceProvider at line 97
protected
bootPolicies()
注册系统中用到的策略
in
PoppyServiceProvider at line 107
protected
bootListener()
监听核心事件
in
PoppyServiceProvider at line 120
protected string
consoleLog()
consoleLog
at line 29
void
register()
Register the service provider.