protected function getQtiResultService()
    {
        if (!$this->service) {
            $this->service = $this->getServiceManager()->get(ResultService::SERVICE_ID);
        }
        return $this->service;
    }
protected function getQtiResultService()
    {
        if (!$this->service) {
            $this->service = $this->getServiceManager()->get(ResultService::SERVICE_ID);
        }
        return $this->service;
    }
protected function getQtiResultService ( ) { if ( ! $ this -> service ) { $ this -> service = $ this -> getServiceManager ( ) -> get ( ResultService :: SERVICE_ID ) ; } return $ this -> service ; }
Return the service for Result

@return ResultService
Return the service for Result