Anonymous function
function($object){ ... }
Welcome to the Laravel Lexicon pages! Here you can quickly jump to a particular page.
function($object){ ... }
fn($post) => $post->id
function($object) use ($parameter) {...}
interfaces that define the core services provided by the framework
group associated request handling logic within a single class
design pattern that allows the removal of hard-coded dependencies and makes it possible to change them, whether at run-time or compile-time
design pattern that provides a simplified (but limited) interface to a complex system of classes, library or framework
$array['value'] ?? $default_value
is the object that lets all service providers register themselves and their dependencies
is a package with specific functionality that boots with your Laravel application
ensures that a class has only one instance, while providing a global access point to this instance.
$condition ? $if_true : $if_false