Collection::forPage()

Collection forPage(int $page, int $perPage) "Paginate" the collection by slicing it into a smaller collection. Parameters int $page int $perPage Return Value Collection

File

File class File extends Facade (View source) Methods static void swap(mixed $instance) Hotswap the underlying instance behind the facade. 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 Facade static void clearResolvedInstances() Clear all of the resolved

Filesystem::getVisibility()

string getVisibility(string $path) Get the visibility for the given path. Parameters string $path Return Value string

Collection::filter()

Collection filter(callable $callback = null) Run a filter over each of the items. Parameters callable $callback Return Value Collection

Collection::filter()

Collection filter(callable $callback = null) Run a filter over each of the items. Parameters callable $callback Return Value Collection

Collection::random()

mixed random(int $amount = 1) Get one or more items randomly from the collection. Parameters int $amount Return Value mixed Exceptions InvalidArgumentException

StorageLinkCommand::ask()

string ask(string $question, string $default = null) Prompt the user for input. Parameters string $question string $default Return Value string

DatabaseNotificationCollection::flip()

Collection flip() Flip the items in the collection. Return Value Collection

ChangesCommand::line()

void line(string $string) Write a string as standard output. Parameters string $string Return Value void

ControllerMakeCommand::getOutput()

OutputInterface getOutput() Get the output implementation. Return Value OutputInterface