/** * Calls the repo add player method, * Passing the retrieved User. * * @param int $userID * @param string $nickname * * @throws Illuminate\Database\Eloquent\ModelNotFoundException * * @return Player */ public function addPlayer($userID, $nickname) { $user = $this->usersRepo->getUser($userID); return $this->playersRepo->addPlayer($user, $nickname); }