Get the relation instance for the given relation name.
public getRelation ( string $name ) : Illuminate\Database\Eloquent\Relations\Relation | ||
$name | string | |
return | Illuminate\Database\Eloquent\Relations\Relation |
public getRelation ( string $name ) : Illuminate\Database\Eloquent\Relations\Relation | ||
$name | string | |
return | Illuminate\Database\Eloquent\Relations\Relation |