AppNameCommand::choice()

string 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 string

Str::endsWith()

static bool endsWith(string $haystack, string|array $needles) Determine if a given string ends with a given substring. Parameters string $haystack string|array $needles Return Value bool

ArrayStore::increment()

int|bool increment(string $key, mixed $value = 1) Increment the value of an item in the cache. Parameters string $key mixed $value Return Value int|bool

Str::macro()

static void macro(string $name, callable $macro) Register a custom macro. Parameters string $name callable $macro Return Value void

Blueprint::index()

Fluent index(string|array $columns, string $name = null, string|null $algorithm = null) Specify an index for the table. Parameters string|array $columns string $name string|null $algorithm Return Value Fluent

MySqlConnection::insert()

bool insert(string $query, array $bindings = array()) Run an insert statement against the database. Parameters string $query array $bindings Return Value bool

User::getGlobalScope()

static Scope|Closure|null getGlobalScope(Scope|string $scope) Get a global scope registered with the model. Parameters Scope|string $scope Return Value Scope|Closure|null

Pivot::getForeignKey()

string getForeignKey() Get the foreign key column name. Return Value string

DatabaseNotification::setPerPage()

$this setPerPage(int $perPage) Set the number of models to return per page. Parameters int $perPage Return Value $this

Application::factory()

Closure factory(string $abstract, array $defaults = array()) Get a closure to resolve the given type from the container. Parameters string $abstract array $defaults Return Value Closure