User::relationLoaded()

bool relationLoaded(string $key) Determine if the given relation is loaded. Parameters string $key Return Value bool

SqlServerGrammar::compileDropPrimary()

string compileDropPrimary(Blueprint $blueprint, Fluent $command) Compile a drop primary key command. Parameters Blueprint $blueprint Fluent $command Return Value string

User::all()

static Collection|Model[] all(array|mixed $columns = array('*')) Get all of the models from the database. Parameters array|mixed $columns Return Value Collection|Model[]

BelongsToMany::firstOrNew()

Model firstOrNew(array $attributes) Get the first related model record matching the attributes or instantiate it. Parameters array $attributes Return Value Model

CookieJar::queued()

Cookie queued(string $key, mixed $default = null) Get a queued cookie instance. Parameters string $key mixed $default Return Value Cookie

FrameGuard

FrameGuard class FrameGuard (View source) Methods Response handle(Request $request, Closure $next) Handle the given request and get the response.

SubscribeCommand deprecated

SubscribeCommand deprecated class SubscribeCommand extends Command (View source) deprecated since version 5.1 Methods void __construct() Create a new console command instance. from Command int run(InputInterface $input, OutputInterface $output) Run the console command. from Command int call(string $command, array $arguments = array()) Call another console command. from Command int callSilent(string $command, array $arguments = array()) Call another console command silently

BeanstalkdJob

BeanstalkdJob class BeanstalkdJob extends Job implements Job (View source) Methods int attempts() Get the number of times the job has been attempted. string getRawBody() Get the raw body string for the job. void fire() Fire the job. from Job void delete() Delete the job from the queue. bool isDeleted() Determine if the job has been deleted. from Job void release(int $delay) Release the job back into the queue. bool isReleased() Determine if the job was released

MakesHttpRequests::postJson()

$this postJson(string $uri, array $data = array(), array $headers = array()) Visit the given URI with a POST request, expecting a JSON response. Parameters string $uri array $data array $headers Return Value $this

EventFake::until()

mixed until(string $event, array $payload = array()) Fire an event until the first non-null response is returned. Parameters string $event array $payload Return Value mixed