ScheduleRunCommand::fire()

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

Application::configPath()

string configPath() Get the path to the application configuration files. Return Value string

Application Testing

Application Testing Introduction Interacting With Your Application Interacting With Links Interacting With Forms Testing JSON APIs Verifying Exact Match Verifying Structural Match Sessions / Authentication Disabling Middleware Custom HTTP Requests PHPUnit Assertions Introduction Laravel provides a very fluent API for making HTTP requests to your application, examining the output, and even filling out forms. For example, take a look at the test defined below: <?php use Illuminate\Found

Grammar::compileForeign()

string compileForeign(Blueprint $blueprint, Fluent $command) Compile a foreign key command. Parameters Blueprint $blueprint Fluent $command Return Value string

HasMany::updateOrCreate()

Model updateOrCreate(array $attributes, array $values = array()) Create or update a related record matching the attributes, and fill it with values. Parameters array $attributes array $values Return Value Model

Relation::getRelationCountQuery()

Builder getRelationCountQuery(Builder $query, Builder $parent) Add the constraints for a relationship count query. Parameters Builder $query Builder $parent Return Value Builder

Mailable

Mailable class Mailable implements Mailable (View source) Methods void send(Mailer $mailer) Send the message using the given mailer. mixed queue(Factory $queue) Queue the message for sending. mixed later(DateTime|int $delay, Factory $queue) Deliver the queued message after the given delay. $this priority(int $level = 3) Set the priority of this message. $this from(object|array|string $address, string|null $name = null) Set the sender of the message. $this to(objec

RetryCommand::table()

void table(array $headers, Arrayable|array $rows, string $style = 'default') Format input to textual table. Parameters array $headers Arrayable|array $rows string $style Return Value void

ResponseFactory::jsonp()

JsonResponse jsonp(string $callback, string|array $data = array(), int $status = 200, array $headers = array(), int $options) Return a new JSONP response from the application. Parameters string $callback string|array $data int $status array $headers int $options Return Value JsonResponse

BladeCompiler::__construct()

void __construct(Filesystem $files, string $cachePath) Create a new compiler instance. Parameters Filesystem $files string $cachePath Return Value void Exceptions InvalidArgumentException