abstract class PoppyServiceProvider extends ServiceProvider

PoppyServiceProvider

Traits

MigrationTrait

Properties

protected array $listens

event listener

protected array $policies policy

Methods

requireMigrations(string $module)

Require (once) all migration files for the supplied module.

string
getMigrationPath(string $module)

Get migration directory path.

void
boot()

Bootstrap the application events.

null
getModule($args)

No description

bootPolicies()

注册系统中用到的策略

bootListener()

监听核心事件

string
consoleLog()

consoleLog

Details

in MigrationTrait at line 18
protected requireMigrations(string $module)

Require (once) all migration files for the supplied module.

Parameters

string $module module

in MigrationTrait at line 36
protected string getMigrationPath(string $module)

Get migration directory path.

Parameters

string $module module

Return Value

string

at line 40
void boot()

Bootstrap the application events.

Return Value

void

Exceptions

ModuleNotFoundException

at line 79
null getModule($args)

No description

Parameters

$args

Return Value

null

Exceptions

ModuleNotFoundException

at line 97
protected bootPolicies()

注册系统中用到的策略

at line 107
protected bootListener()

监听核心事件

at line 120
protected string consoleLog()

consoleLog

Return Value

string