LengthAwarePaginator

LengthAwarePaginator interface LengthAwarePaginator implements Paginator (View source) Methods string url(int $page) Get the URL for a given page. from Paginator $this appends(array|string $key, string|null $value = null) Add a set of query string values to the paginator. from Paginator $this|string fragment(string|null $fragment = null) Get / set the URL fragment to be appended to URLs. from Paginator string|null nextPageUrl() The the URL for the next page, or null. from Pag

ListenerMakeCommand::setLaravel()

void setLaravel(Container $laravel) Set the Laravel application instance. Parameters Container $laravel Return Value void

RedisTaggedCache::sear()

mixed sear(string $key, Closure $callback) Get an item from the cache, or store the default value forever. Parameters string $key Closure $callback Return Value mixed

Writer::setEventDispatcher()

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

Auth

Auth class Auth extends Facade (View source) Methods static void swap(mixed $instance) Hotswap the underlying instance behind the facade. from Facade static void spy() Convert the facade into a Mockery spy. from Facade static Expectation shouldReceive() Initiate a mock expectation on the facade. from Facade static mixed getFacadeRoot() Get the root object behind the facade. from Facade static void clearResolvedInstance(string $name) Clear a resolved facade instance. from

Job::getQueue()

string getQueue() Get the name of the queue the job belongs to. Return Value string

RedisBroadcaster::broadcast()

void broadcast(array $channels, string $event, array $payload = array()) Broadcast the given event. Parameters array $channels string $event array $payload Return Value void

TestCase::seeInElement()

$this seeInElement(string $element, string $text, bool $negate = false) Assert that a given string is seen inside an element. Parameters string $element string $text bool $negate Return Value $this

OptimizeServiceProvider

OptimizeServiceProvider class OptimizeServiceProvider extends ServiceProvider (View source) Methods void __construct(Application $app) Create a new service provider instance. from ServiceProvider void boot() Bootstrap the application events. from ServiceProvider void register() Register the service provider. void package(string $package, string $namespace = null, string $path = null) Register the package's component namespaces. from ServiceProvider string guessPackagePath

Blade::swap()

static void swap(mixed $instance) Hotswap the underlying instance behind the facade. Parameters mixed $instance Return Value void