CommandsServiceProvider::register()

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

ResourceRegistrar

ResourceRegistrar class ResourceRegistrar (View source) Methods void __construct(Router $router) Create a new resource registrar instance. void register(string $name, string $controller, array $options = array()) Route a resource to a controller. string getResourceUri(string $resource) Get the base resource URI for a given resource. string getResourceWildcard(string $value) Format a resource parameter for usage. static void singularParameters(bool $singular = true) Set

SortedMiddleware::random()

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

MorphPivot::setPivotKeys()

$this setPivotKeys(string $foreignKey, string $otherKey) Set the key names for the pivot model instance. Parameters string $foreignKey string $otherKey Return Value $this

ValidatesRequests

ValidatesRequests trait ValidatesRequests (View source) Methods void validateWith(Validator|array $validator, Request $request = null) Run the validation routine against the given validator. void validate(Request $request, array $rules, array $messages = array(), array $customAttributes = array()) Validate the given request with the given rules. void validateWithBag(string $errorBag, Request $request, array $rules, array $messages = array(), array $customAttributes = array()) Va

SortedMiddleware::shift()

mixed shift() Get and remove the first item from the collection. Return Value mixed

VendorPublishCommand::__construct()

void __construct(Filesystem $files) Create a new command instance. Parameters Filesystem $files Return Value void

SQLiteConnection::table()

Builder table(string $table) Begin a fluent query against a database table. Parameters string $table Return Value Builder

ApplicationTrait::flushSession()

void flushSession() Flush all of the current session data. Return Value void

User::getPerPage()

int getPerPage() Get the number of models to return per page. Return Value int