public function checkProjectMember($projectId) { $userId = \Authorizer::getResourceOwnerId(); return $this->memberRepository->isMember($projectId, $userId); }
public function isMember($id, $memberId) { return $this->repository->isMember($id, $memberId); }