public findAllWithRelation ( ) : Illuminate\Database\Eloquent\Collection | |
||
return | Illuminate\Database\Eloquent\Collection | |
public function findAllWithRelation()
{
return $this->model->with(self::$relations)->get();
}