Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Silber
Bouncer
Factory
withUser
Silber\Bouncer\Factory::withUser PHP Method
Factory Class Documentation
Show file
Open project: JosephSilber/bouncer
withUser()
public
method
Set the user model to use for the gate.
public
withUser
(
Model
$user
)
$user
Illuminate\Database\Eloquent\Model
public function withUser(Model $user) { $this->user = $user; return $this; }
Factory
create
getCacheStore
getClipboard
getContainer
getGate
withCache
withClipboard
withGate
withUser