class PamController extends DevelopController

开发平台用户登录控制器

Traits

Trait Viewable.

DispatchesJobs
ValidatesRequests

Properties

static string $permission from  Controller
protected int $pagesize pagesize from  Controller
protected string $ip ip from  Controller
protected Carbon $now now from  Controller
protected string $route route from  Controller
protected string $title title from  Controller

Methods

__construct()

Controller constructor.

withViews()

No description

seo(mixed ...$args)

seo

share(string|array $key, null $value = null)

Share variable with view.

View
view(string $template, array $data = [], array $mergeData = [])

Share variable with view.

coreModule()

获取核心的模块

Authenticatable|null|PamAccount
pam()

返回用户信息

login()

登录

logout()

No description

Details

in DevelopController at line 20
__construct()

Controller constructor.

in Controller at line 67
protected withViews()

No description

in Controller at line 92
protected seo(mixed ...$args)

seo

Parameters

mixed ...$args args

in ViewTrait at line 20
protected share(string|array $key, null $value = null)

Share variable with view.

Parameters

string|array $key key
null $value value

in ViewTrait at line 35
protected View view(string $template, array $data = [], array $mergeData = [])

Share variable with view.

Parameters

string $template template
array $data data
array $mergeData mergeData

Return Value

View

Exceptions

BindingResolutionException

in CoreTrait at line 14
ModuleManager coreModule()

获取核心的模块

Return Value

ModuleManager

in CoreTrait at line 23
PermissionManager corePermission()

权限管理

Return Value

PermissionManager

in DevelopController at line 30
protected Authenticatable|null|PamAccount pam()

返回用户信息

Return Value

Authenticatable|null|PamAccount

at line 18
login()

登录

at line 42
logout()

No description