Factory

Factory interface Factory (View source) Methods Cookie make(string $name, string $value, int $minutes, string $path = null, string $domain = null, bool $secure = false, bool $httpOnly = true) Create a new cookie instance. Cookie forever(string $name, string $value, string $path = null, string $domain = null, bool $secure = false, bool $httpOnly = true) Create a cookie that lasts "forever" (five years). Cookie forget(string $name, string $path = null, string $domain = null) Expir

Factory::__construct()

void __construct(Request $request, Factory $view, TranslatorInterface $trans, string $pageName = 'page') Create a new pagination factory. Parameters Request $request Factory $view TranslatorInterface $trans string $pageName Return Value void

ListenerMakeCommand::anticipate()

string anticipate(string $question, array $choices, string $default = null) Prompt the user for input with auto completion. Parameters string $question array $choices string $default Return Value string

UserProviderInterface::updateRememberToken()

void updateRememberToken(UserInterface $user, string $token) Update the "remember me" token for the given user in storage. Parameters UserInterface $user string $token Return Value void

MorphOne::morphMap()

static array morphMap(array $map = null, bool $merge = true) Set or get the morph map for polymorphic relations. Parameters array $map bool $merge Return Value array

EncryptedStore::keep()

void keep(array|mixed $keys = null) Reflash a subset of the current flash data. Parameters array|mixed $keys Return Value void

MakesHttpRequests::dontSeeIsSelected()

$this dontSeeIsSelected(string $selector, string $value) Assert that the given value is not selected. Parameters string $selector string $value Return Value $this

FileSessionHandler::__construct()

void __construct(Filesystem $files, string $path, int $minutes) Create a new file driven handler instance. Parameters Filesystem $files string $path int $minutes Return Value void

HtmlString

HtmlString class HtmlString implements Htmlable (View source) Methods void __construct(string $html) Create a new HTML string instance. string toHtml() Get the HTML string. string __toString() Get the HTML string.

Model::getVisible()

array getVisible() Get the visible attributes for the model. Return Value array