StatefulGuard

StatefulGuard interface StatefulGuard implements Guard (View source) Methods bool check() Determine if the current user is authenticated. from Guard bool guest() Determine if the current user is a guest. from Guard Authenticatable|null user() Get the currently authenticated user. from Guard int|null id() Get the ID for the currently authenticated user. from Guard bool validate(array $credentials = array()) Validate a user's credentials. from Guard void setUser(Authenti

Collection::filter()

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

Filesystem::getVisibility()

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

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

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

JoinClause::useWritePdo()

$this useWritePdo() Use the write pdo for query. Return Value $this

Model::getFillable()

array getFillable() Get the fillable attributes for the model. Return Value array

RedirectResponse::exceptInput()

RedirectResponse exceptInput() Flash an array of input to the session. Return Value RedirectResponse

FileViewFinder::prependLocation()

void prependLocation(string $location) Prepend a location to the finder. Parameters string $location Return Value void

Kernel::call()

int call(string $command, array $parameters = array()) Run an Artisan console command by name. Parameters string $command array $parameters Return Value int