Gate::allows()

bool allows(string $ability, array|mixed $arguments = array()) Determine if the given ability should be granted for the current user. Parameters string $ability array|mixed $arguments Return Value bool

MorphOne::firstOrCreate()

Model firstOrCreate(array $attributes) Get the first related record matching the attributes or create it. Parameters array $attributes Return Value Model

MaintenanceServiceProvider::isDeferred()

bool isDeferred() Determine if the provider is deferred. Return Value bool

MorphPivot::belongsToMany()

BelongsToMany belongsToMany(string $related, string $table = null, string $foreignKey = null, string $otherKey = null, string $relation = null) Define a many-to-many relationship. Parameters string $related string $table string $foreignKey string $otherKey string $relation Return Value BelongsToMany

MigrateMakeCommand::question()

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

InteractsWithPages::seeText()

$this seeText(string $text, bool $negate = false) Assert that a given string is seen on the current text. Parameters string $text bool $negate Return Value $this

ServerServiceProvider::package()

void package(string $package, string $namespace = null, string $path = null) Register the package's component namespaces. Parameters string $package string $namespace string $path Return Value void

OptimizeCommand

OptimizeCommand class OptimizeCommand extends Command (View source) Methods void __construct(Composer $composer) Create a new optimize command instance. 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. from Command bool hasArgument(str

MySqlBuilder::hasColumns()

bool hasColumns(string $table, array $columns) Determine if the given table has given columns. Parameters string $table array $columns Return Value bool

MakesHttpRequests::within()

$this within(string $element, Closure $callback) Narrow the test content to a specific area of the page. Parameters string $element Closure $callback Return Value $this