InteractsWithSession::assertSessionHasErrors()

void assertSessionHasErrors(string|array $bindings = array(), mixed $format = null) Assert that the session has errors bound. Parameters string|array $bindings mixed $format Return Value void

FoundationServiceProvider::__call()

mixed __call(string $method, array $parameters) Dynamically handle missing method calls. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException

MorphOne::findOrNew()

Collection|Model findOrNew(mixed $id, array $columns = array('*')) Find a related model by its primary key or return new instance of the related model. Parameters mixed $id array $columns Return Value Collection|Model

Guard

Guard class Guard implements Guard (View source) Methods void __construct(UserProvider $provider, SessionInterface $session, Request $request = null) Create a new authentication guard. bool check() Determine if the current user is authenticated. bool guest() Determine if the current user is a guest. Authenticatable|null user() Get the currently authenticated user. int|null id() Get the ID for the currently authenticated user. bool once(array $credentials = array()

TestMakeCommand::callSilent()

int callSilent(string $command, array $arguments = array()) Call another console command silently. Parameters string $command array $arguments Return Value int

Application::abort()

void abort(int $code, string $message = '', array $headers = array()) Throw an HttpException with the given data. Parameters int $code string $message array $headers Return Value void Exceptions HttpException

TailCommand::askWithCompletion()

string askWithCompletion(string $question, array $choices, string $default = null) Prompt the user for input with auto completion. Parameters string $question array $choices string $default Return Value string

ArtisanServiceProvider

ArtisanServiceProvider class ArtisanServiceProvider 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.

CacheServiceProvider::register()

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

BroadcastServiceProvider::__construct()

void __construct(Application $app) Create a new service provider instance. Parameters Application $app Return Value void