Showing 10 of 2,055 results.

Date Methods | Laravel Task Scheduler: An Introduction

Method Description timezone($timezone) Sets the timezone the date should be evaluated on. days($days) Sets the days of the week the command should run on. Can either specify each day as its own argument or supply an array of days. daily Schedules...

Laravel Collection Public API: whereIn

whereIn($key, array $values, $strict = true) The whereIn method is used to filter the collection based on a given $key and an array of the possible $values that the $key can have. The method also defines an optional $strict parameter, which when...

Specifying the Locale | Laravel 5: String Translation Public API

Like with many of the translator's public methods, we can specify the locale when calling the choice method via an argument to the $locale parameter. By default, Laravel will use the default configured locale when you invoke the choice method. We...

Laravel 5: The Translator's File Loader

…loaded from the /resources/lang/ directory by default. The lang/ directory contains the en (English from the ISO 639-1 standard) sub-directory by default. Each sub-directory within the lang/ directory corresponds to a difference locale; the...