Example #1
0
 /**
  * {@inheritDoc}
  */
 public function getByIdWith($id, $type)
 {
     return $this->user->with($type)->where('id', '=', $id)->first();
 }