CacheServiceProvider

CacheServiceProvider class CacheServiceProvider extends ServiceProvider (View source) Methods void __construct(Application $app) Create a new service provider instance. from ServiceProvider void register() Register the service provider. 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 provi

AuthManager::extend()

$this extend(string $driver, Closure $callback) Register a custom driver creator Closure. Parameters string $driver Closure $callback Return Value $this

Collection::macro()

static void macro(string $name, callable $macro) Register a custom macro. Parameters string $name callable $macro Return Value void

Builder::increment()

int increment(string $column, int $amount = 1, array $extra = array()) Increment a column's value by a given amount. Parameters string $column int $amount array $extra Return Value int

FormRequest::has()

bool has(string|array $key) Determine if the request contains a non-empty value for an input item. Parameters string|array $key Return Value bool

Factory::setDispatcher()

void setDispatcher(Dispatcher $events) Set the event dispatcher instance. Parameters Dispatcher $events Return Value void

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

LengthAwarePaginator::url()

string url(int $page) Get the URL for a given page number. Parameters int $page Return Value string

Pivot::getVisible()

array getVisible() Get the visible attributes for the model. Return Value array

Factory::make()

View make(string $view, array $data = array(), array $mergeData = array()) Get the evaluated view contents for the given view. Parameters string $view array $data array $mergeData Return Value View