HasMany::create()

Model create(array $attributes) Create a new instance of the related model. Parameters array $attributes Return Value Model

Application::resolveProviderClass()

ServiceProvider resolveProviderClass(string $provider) Resolve a service provider instance from the class name. Parameters string $provider Return Value ServiceProvider

HasMany::matchOne()

array matchOne(array $models, Collection $results, string $relation) Match the eagerly loaded results to their single parents. Parameters array $models Collection $results string $relation Return Value array

HasOneOrMany::findOrNew()

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

EventGenerateCommand::call()

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

Pivot::setPivotKeys()

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

RestartCommand::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

Pivot::setCreatedAt()

$this setCreatedAt(mixed $value) Set the value of the "created at" attribute. Parameters mixed $value Return Value $this

InteractsWithContainer

InteractsWithContainer trait InteractsWithContainer (View source)

HtmlDumper

HtmlDumper class HtmlDumper extends HtmlDumper (View source)