Documentation

Factory

Table of Contents

guard()  : mixed
Get a guard instance by name.
shouldUse()  : void
Set the default guard the factory should serve.

Methods

guard()

Get a guard instance by name.

public guard([string|null $name = null ]) : mixed
Parameters
$name : string|null = null
Return values
mixed

shouldUse()

Set the default guard the factory should serve.

public shouldUse(string $name) : void
Parameters
$name : string
Return values
void

Search results