ConfigCacheCommand::choice()

string choice(string $question, array $choices, string $default = null, mixed $attempts = null, bool $multiple = null) Give the user a single choice from an array of answers. Parameters string $question array $choices string $default mixed $attempts bool $multiple Return Value string

MailServiceProvider

MailServiceProvider class MailServiceProvider extends ServiceProvider (View source) Methods void __construct(Application $app) Create a new service provider instance. from ServiceProvider static array pathsToPublish(string $provider = null, string $group = null) Get the paths to publish. from ServiceProvider void commands(array|mixed $commands) Register the package's custom Artisan commands. from ServiceProvider array provides() Get the services provided by the provider. ar

Builder::withoutGlobalScope()

$this withoutGlobalScope(Scope|string $scope) Remove a registered global scope. Parameters Scope|string $scope Return Value $this

RedisServiceProvider::register()

void register() Register the service provider. Return Value void

PostgresGrammar

PostgresGrammar class PostgresGrammar extends Grammar (View source) Methods array wrapArray(array $values) Wrap an array of values. from Grammar string wrapTable(Expression|string $table) Wrap a table in keyword identifiers. from Grammar string wrap(Expression|string $value, bool $prefixAlias = false) Wrap a value in keyword identifiers. from Grammar string columnize(array $columns) Convert an array of column names into a delimited string. from Grammar string parameterize(

Package Development

Package Development Introduction A Note On Facades Service Providers Routing Resources Configuration Migrations Translations Views Commands Public Assets Publishing File Groups Introduction Packages are the primary way of adding functionality to Laravel. Packages might be anything from a great way to work with dates like Carbon, or an entire BDD testing framework like Behat. Of course, there are different types of packages. Some packages are stand-alone, meaning they work with any PHP fra

PostgresConnection::raw()

Expression raw(mixed $value) Get a new raw query expression. Parameters mixed $value Return Value Expression

Collection::splice()

Collection splice(int $offset, int|null $length = null, mixed $replacement = array()) Splice a portion of the underlying collection array. Parameters int $offset int|null $length mixed $replacement Return Value Collection

Grammar

Grammar class Grammar extends Grammar (View source) Methods array wrapArray(array $values) Wrap an array of values. from Grammar string wrapTable(Expression|string $table) Wrap a table in keyword identifiers. string wrap(Expression|string $value, bool $prefixAlias = false) Wrap a value in keyword identifiers. string columnize(array $columns) Convert an array of column names into a delimited string. from Grammar string parameterize(array $values) Create query parameter pl

NotificationFake::hasSent()

bool hasSent(mixed $notifiable, string $notification) Determine if there are more notifications left to inspect. Parameters mixed $notifiable string $notification Return Value bool