TestCase::json()

$this json(string $method, string $uri, array $data = array(), array $headers = array()) Visit the given URI with a JSON request. Parameters string $method string $uri array $data array $headers Return Value $this

BroadcastManager::queue()

void queue(mixed $event) Queue the given event for broadcast. Parameters mixed $event Return Value void

MorphPivot::morphToMany()

MorphToMany morphToMany(string $related, string $name, string $table = null, string $foreignKey = null, string $otherKey = null, bool $inverse = false) Define a polymorphic many-to-many relationship. Parameters string $related string $name string $table string $foreignKey string $otherKey bool $inverse Return Value MorphToMany

Builder::onDelete()

void onDelete(Closure $callback) Register a replacement for the default delete function. Parameters Closure $callback Return Value void

ScheduleRunCommand::comment()

void comment(string $string, null|int|string $verbosity = null) Write a string as comment output. Parameters string $string null|int|string $verbosity Return Value void

Builder::chunk()

bool chunk(int $count, callable $callback) Chunk the results of the query. Parameters int $count callable $callback Return Value bool

Guard::user()

Authenticatable|null user() Get the currently authenticated user. Return Value Authenticatable|null

BelongsToMany::newPivotStatement()

Builder newPivotStatement() Get a new plain query builder for the pivot table. Return Value Builder

User::getOriginal()

mixed|array getOriginal(string|null $key = null, mixed $default = null) Get the model's original attribute values. Parameters string|null $key mixed $default Return Value mixed|array

ScheduleRunCommand::info()

void info(string $string, null|int|string $verbosity = null) Write a string as information output. Parameters string $string null|int|string $verbosity Return Value void