Class Relationship
- Laravel\Database\Eloquent\Query
- Laravel\Database\Eloquent\Relationships\Relationship
Direct known subclasses
Laravel\Database\Eloquent\Relationships\Belongs_To, Laravel\Database\Eloquent\Relationships\Has_Many_And_Belongs_To, Laravel\Database\Eloquent\Relationships\Has_One_Or_ManyIndirect known subclasses
Laravel\Database\Eloquent\Relationships\Has_Many, Laravel\Database\Eloquent\Relationships\Has_One
Abstract
Namespace: Laravel\Database\Eloquent\Relationships
Located at laravel/database/eloquent/relationships/relationship.php
Namespace: Laravel\Database\Eloquent\Relationships
Located at laravel/database/eloquent/relationships/relationship.php
public
|
#
__construct(
Create a new has one or many association instance. |
public static
string
|
|
protected
|
#
fresh_model( array $attributes = array() )
Get a freshly instantiated instance of the related model class. |
public
string
|
|
public
array
|
|
public
|
__call(),
connection(),
find(),
first(),
get(),
hydrate(),
load(),
model_includes(),
nested_includes(),
paginate(),
table()
|
protected
|
$base |
|
#
The base model for the relationship. |
$includes,
$model,
$passthru,
$table
|