find($id); if (!$role) { throw new Exception( 'Le role n\'existe pas' ); } return $role; } public function findAll(): array { // TODO: Implement findAll() method. } }