Свойство | Тип | Описание | |
---|---|---|---|
$cache | Illuminate\Contracts\Cache\Store | The cache instance to use for the clipboard. | |
$clipboard | Silber\Bouncer\Contracts\Clipboard | The clipboard instance to use. | |
$gate | Illuminate\Contracts\Auth\Access\Gate | The gate instance to use. | |
$user | Illuminate\Datbase\Eloquent\Model | The user model to use for the gate. |
Метод | Описание | |
---|---|---|
create ( |
Create an instance of Bouncer. | |
withCache ( Illuminate\Contracts\Cache\Store $cache ) | Set the cache instance to use for the clipboard. | |
withClipboard ( Silber\Bouncer\Contracts\Clipboard $clipboard ) | Set the instance of the clipboard to use. | |
withGate ( Illuminate\Contracts\Auth\Access\Gate $gate ) | Set the gate instance to use. | |
withUser ( |
Set the user model to use for the gate. |
Метод | Описание | |
---|---|---|
getCacheStore ( ) : Illuminate\Contracts\Cache\Store | Get an instance of the cache store. | |
getClipboard ( ) : Silber\Bouncer\Contracts\Clipboard | Get an instance of the clipboard. | |
getContainer ( ) : Illuminate\Container\Container | Get the container singleton. | |
getGate ( ) : Illuminate\Contracts\Auth\Access\Gate | Get an instance of the gate. |
public create ( |
||
$user | ||
Результат |
protected getCacheStore ( ) : Illuminate\Contracts\Cache\Store | ||
Результат | Illuminate\Contracts\Cache\Store |
protected getClipboard ( ) : Silber\Bouncer\Contracts\Clipboard | ||
Результат | Silber\Bouncer\Contracts\Clipboard |
protected getContainer ( ) : Illuminate\Container\Container | ||
Результат | Illuminate\Container\Container |
protected getGate ( ) : Illuminate\Contracts\Auth\Access\Gate | ||
Результат | Illuminate\Contracts\Auth\Access\Gate |
public withCache ( Illuminate\Contracts\Cache\Store $cache ) | ||
$cache | Illuminate\Contracts\Cache\Store |
public withClipboard ( Silber\Bouncer\Contracts\Clipboard $clipboard ) | ||
$clipboard | Silber\Bouncer\Contracts\Clipboard |
public withGate ( Illuminate\Contracts\Auth\Access\Gate $gate ) | ||
$gate | Illuminate\Contracts\Auth\Access\Gate |
public withUser ( |
||
$user |
protected Store,Illuminate\Contracts\Cache $cache | ||
Результат | Illuminate\Contracts\Cache\Store |
protected Clipboard,Silber\Bouncer\Contracts $clipboard | ||
Результат | Silber\Bouncer\Contracts\Clipboard |
protected Gate,Illuminate\Contracts\Auth\Access $gate | ||
Результат | Illuminate\Contracts\Auth\Access\Gate |