PHP Class Mage2\User\Module

Inheritance: extends Mage2\Framework\Support\BaseModule
Datei anzeigen Open project: mage2/laravel-ecommerce

Protected Properties

Property Type Description
$policies

Public Methods

Method Description
boot ( ) : void Bootstrap any application services.
getIdentifier ( )
getName ( )
register ( ) : void Register any application services.
registerAdminMenu ( )
registerMiddleware ( ) : void Register the middleware for the mage2 auth modules.
registerModule ( )
registerPolicies ( ) : void Register the policy for the admin user
registerViewComposerData ( )

Protected Methods

Method Description
mapWebRoutes ( ) : void Define the "web" routes for the application.
registerPermissions ( ) : void Register Permission for the roles
registerViewPath ( )

Method Details

boot() public method

Bootstrap any application services.
public boot ( ) : void
return void

getIdentifier() public method

public getIdentifier ( )

getName() public method

public getName ( )

mapWebRoutes() protected method

These routes all receive session state, CSRF protection, etc.
protected mapWebRoutes ( ) : void
return void

register() public method

Register any application services.
public register ( ) : void
return void

registerAdminMenu() public method

public registerAdminMenu ( )

registerMiddleware() public method

Register the middleware for the mage2 auth modules.
public registerMiddleware ( ) : void
return void

registerModule() public method

public registerModule ( )

registerPermissions() protected method

Register Permission for the roles
protected registerPermissions ( ) : void
return void

registerPolicies() public method

Register the policy for the admin user
public registerPolicies ( ) : void
return void

registerViewComposerData() public method

registerViewPath() protected method

protected registerViewPath ( )

Property Details

$policies protected_oe property

protected $policies