private function checkMember($idProject) { $idUser = Authorizer::getResourceOwnerId(); return $this->repository->isMember($idProject, $idUser); }