PendingBroadcast

PendingBroadcast class PendingBroadcast (View source) Methods void __construct(Dispatcher $events, mixed $event) Create a new pending broadcast instance. void __destruct() Handle the object's destruction. $this toOthers() Broadcast the event to everyone except the current user.

DatabaseNotification::freshTimestampString()

string freshTimestampString() Get a fresh timestamp for the model. Return Value string

PusherBroadcaster::broadcast()

void broadcast(array $channels, string $event, array $payload = array()) Broadcast the given event. Parameters array $channels string $event array $payload Return Value void

MigrationCreator::create()

string create(string $name, string $path, string $table = null, bool $create = false) Create a new migration at the given path. Parameters string $name string $path string $table bool $create Return Value string Exceptions Exception

SQLiteConnection::setReconnector()

$this setReconnector(callable $reconnector) Set the reconnect instance on the connection. Parameters callable $reconnector Return Value $this

Events

Events Introduction Registering Events & Listeners Generating Events & Listeners Manually Registering Events Defining Events Defining Listeners Queued Event Listeners Manually Accessing The Queue Firing Events Event Subscribers Writing Event Subscribers Registering Event Subscribers Introduction Laravel's events provides a simple observer implementation, allowing you to subscribe and listen for various events that occur in your application. Event classes are typically stored in

MakesHttpRequests::seeInElement()

$this seeInElement(string $element, string $text, bool $negate = false) Assert that a given string is seen inside an element. Parameters string $element string $text bool $negate Return Value $this

Container

Container interface Container (View source) Methods bool bound(string $abstract) Determine if the given abstract type has been bound. void alias(string $abstract, string $alias) Alias a type to a different name. void tag(array|string $abstracts, array|mixed $tags) Assign a set of tags to a given binding. array tagged(array $tag) Resolve all of the bindings for a given tag. void bind(string|array $abstract, Closure|string|null $concrete = null, bool $shared = false) Reg

HasMany::firstOrCreate()

Model firstOrCreate(array $attributes) Get the first related record matching the attributes or create it. Parameters array $attributes Return Value Model

Auth::setFacadeApplication()

static void setFacadeApplication(Application $app) Set the application instance. Parameters Application $app Return Value void