public function getRoleService() { if (null === $this->roleService) { $this->roleService = new RoleService($this->getUserService(), $this->client, $this->inputDispatcher, $this->outputVisitor, $this->requestParser); } return $this->roleService; }