Bus::fake()

static void fake() Replace the bound instance with a fake. Return Value void

RefreshCommand::hasArgument()

bool hasArgument(string|int $name) Determine if the given argument is present. Parameters string|int $name Return Value bool

RollbackCommand::call()

int call(string $command, array $arguments = array()) Call another console command. Parameters string $command array $arguments Return Value int

Builder::take()

Builder|Builder take(int $value) Alias to set the "limit" value of the query. Parameters int $value Return Value Builder|Builder

HasManyThrough::initRelation()

array initRelation(array $models, string $relation) Initialize the relation on a set of models. Parameters array $models string $relation Return Value array

Collection::merge()

Collection merge(mixed $items) Merge the collection with the given items. Parameters mixed $items Return Value Collection

ControllerMakeCommand::arguments()

array arguments() Get all of the arguments passed to the command. Return Value array

Builder

Builder class Builder (View source) Methods void __construct(Builder $query) Create a new Eloquent query builder instance. $this withGlobalScope(string $identifier, Scope|Closure $scope) Register a new global scope. $this withoutGlobalScope(Scope|string $scope) Remove a registered global scope. $this withoutGlobalScopes(array $scopes = null) Remove all or passed registered global scopes. array removedScopes() Get an array of global scopes that were removed from the que

Collection::modelKeys()

array modelKeys() Get the array of primary keys. Return Value array

ClearCommand::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