BroadcastManager::socket()

string|null socket(Request|null $request = null) Get the socket ID for the given request. Parameters Request|null $request Return Value string|null

JoinClause::union()

Builder|Builder union(Builder|Closure $query, bool $all = false) Add a union statement to the query. Parameters Builder|Closure $query bool $all Return Value Builder|Builder

DatabaseFailedJobProvider::__construct()

void __construct(ConnectionResolverInterface $resolver, string $database, string $table) Create a new database failed job provider. Parameters ConnectionResolverInterface $resolver string $database string $table Return Value void

HasOne::noConstraints()

static mixed noConstraints(Closure $callback) Run a callback with constraints disabled on the relation. Parameters Closure $callback Return Value mixed

Application::bindIf()

void bindIf(string $abstract, Closure|string|null $concrete = null, bool $shared = false) Register a binding if it hasn't already been registered. Parameters string $abstract Closure|string|null $concrete bool $shared Return Value void

Container

Container class Container implements ArrayAccess, Container (View source) Properties array $contextual The contextual binding map.

MySqlBuilder::dropIfExists()

Blueprint dropIfExists(string $table) Drop a table from the schema if it exists. Parameters string $table Return Value Blueprint

QueueFake

QueueFake class QueueFake implements Queue (View source) Methods void assertPushed(string $job, callable|null $callback = null) Assert if a job was pushed based on a truth-test callback. void assertPushedOn(string $queue, string $job, callable|null $callback = null) Assert if a job was pushed based on a truth-test callback. void assertNotPushed(string $job, callable|null $callback = null) Determine if a job was pushed based on a truth-test callback. Collection pushed(string

MailFake

MailFake class MailFake implements Mailer (View source) Methods void assertSent(string $mailable, callable|null $callback = null) Assert if a mailable was sent based on a truth-test callback. void assertSentTo(mixed $users, string $mailable, callable|null $callback = null) Assert if a mailable was sent based on a truth-test callback. void assertNotSent(string $mailable, callable|null $callback = null) Determine if a mailable was sent based on a truth-test callback. Collection

NotificationFake

NotificationFake class NotificationFake implements Factory (View source) Methods void assertSentTo(mixed $notifiable, string $notification, callable|null $callback = null) Assert if a notification was sent based on a truth-test callback. void assertNotSentTo(mixed $notifiable, string $notification, callable|null $callback = null) Determine if a notification was sent based on a truth-test callback. Collection sent(mixed $notifiable, string $notification, callable|null $callback =