$this when(bool $value, Closure $callback, Closure $default = null) Apply the callback's query changes if the given "value" is true. Parameters bool $value Closure $callback Closure $default Return Value $this
IronConnector class IronConnector implements ConnectorInterface (View source) Methods void __construct(Encrypter $crypt, Request $request) Create a new Iron connector instance. Queue connect(array $config) Establish a queue connection.
int lastItem() Get the number of the last item in the slice. Return Value int
$this thenPing(string $url) Register a callback to ping a given URL after the job runs. Parameters string $url Return Value $this
void registerPlugin(Swift_Events_EventListener $plugin) Register a plug-in with the transport. Parameters Swift_Events_EventListener $plugin Return Value void
$this lock(bool $value = true) Lock the selected rows in the table. Parameters bool $value Return Value $this
void setCache(Repository $cache) Set the cache repository implementation. Parameters Repository $cache Return Value void
Collection uniqueStrict(string|callable|null $key = null) Return only unique items from the collection array using strict comparison. Parameters string|callable|null $key Return Value Collection
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
array options() Get all of the options passed to the command. Return Value array
Page 681 of 996