getById() 공개 메소드

Get a user by user id.
public getById ( integer $id ) : Illuminate\Database\Eloquent\Model
$id integer
리턴 Illuminate\Database\Eloquent\Model
예제 #1
0
파일: UserService.php 프로젝트: so1/owl
 /**
  * Get a user by user id.
  *
  * @param int  $id
  * @return \stdclass
  */
 public function getById($id)
 {
     return $this->userRepo->getById($id);
 }