SeedCommand::choice()

bool choice(string $question, array $choices, string $default = null, mixed $attempts = null, bool $multiple = null) Give the user a single choice from an array of answers. Parameters string $question array $choices string $default mixed $attempts bool $multiple Return Value bool

JoinClause::whereNested()

Builder|Builder whereNested(Closure $callback, string $boolean = 'and') Add a nested where statement to the query. Parameters Closure $callback string $boolean Return Value Builder|Builder

RedirectResponse::withException()

$this withException(Exception $e) Set the exception to attach to the response. Parameters Exception $e Return Value $this

SessionTableCommand

SessionTableCommand class SessionTableCommand extends Command (View source) Methods void __construct(Filesystem $files, Composer $composer) Create a new session table command instance. int run(InputInterface $input, OutputInterface $output) Run the console command. from Command int call(string $command, array $arguments = array()) Call another console command. from Command int callSilent(string $command, array $arguments = array()) Call another console command silently. from

HasOneOrMany::matchOne()

array matchOne(array $models, Collection $results, string $relation) Match the eagerly loaded results to their single parents. Parameters array $models Collection $results string $relation Return Value array

Encrypter::encrypt()

string encrypt(string $value) Encrypt the given value. Parameters string $value Return Value string Exceptions EncryptException

JoinClause::crossJoin()

Builder|Builder crossJoin(string $table, string $first = null, string $operator = null, string $second = null) Add a "cross join" clause to the query. Parameters string $table string $first string $operator string $second Return Value Builder|Builder

Translator::transChoice()

string transChoice(string $id, int|array|Countable $number, array $parameters = array(), string $domain = 'messages', string $locale = null) Get a translation according to an integer value. Parameters string $id int|array|Countable $number array $parameters string $domain string $locale Return Value string

Factory::send()

void send(Collection|array|mixed $notifiables, mixed $notification) Send the given notification to the given notifiable entities. Parameters Collection|array|mixed $notifiables mixed $notification Return Value void

Translator::parseKey()

array parseKey(string $key) Parse a key into namespace, group, and item. Parameters string $key Return Value array