MorphPivot::getDates()

array getDates() Get the attributes that should be converted to dates. Return Value array

Str::slug()

static string slug(string $title, string $separator = '-') Generate a URL friendly "slug" from a given string. Parameters string $title string $separator Return Value string

Repository

Repository interface Repository (View source) Methods bool has(string $key) Determine if an item exists in the cache. mixed get(string $key, mixed $default = null) Retrieve an item from the cache by key. mixed pull(string $key, mixed $default = null) Retrieve an item from the cache and delete it. void put(string $key, mixed $value, DateTime|float|int $minutes) Store an item in the cache. bool add(string $key, mixed $value, DateTime|float|int $minutes) Store an item in

BelongsToMany::relatedUpdatedAt()

string relatedUpdatedAt() Get the name of the related model's "updated at" column. Return Value string

Paginator

Paginator class Paginator extends AbstractPaginator implements Arrayable, ArrayAccess, Countable, IteratorAggregate, JsonSerializable, Jsonable, Paginator (View source) Properties static string $defaultView The default pagination view. from AbstractPaginator static string $defaultSimpleView The default "simple" pagination view. from AbstractPaginator

PostgresConnection::transactionLevel()

int transactionLevel() Get the number of active transactions. Return Value int

SqsJob::getQueue()

string getQueue() Get the name of the queue the job belongs to. Return Value string

Pivot::on()

static Builder on(string|null $connection = null) Begin querying the model on a given connection. Parameters string|null $connection Return Value Builder

HTTP Responses

HTTP Responses Creating Responses Attaching Headers To Responses Attaching Cookies To Responses Cookies & Encryption Redirects Redirecting To Named Routes Redirecting To Controller Actions Redirecting With Flashed Session Data Other Response Types View Responses JSON Responses File Downloads File Responses Response Macros Creating Responses Strings & Arrays All routes and controllers should return a response to be sent back to the user's browser. Laravel provides several differe

MigrateCommand::fire()

void fire() Execute the console command. Return Value void