protected function getResultService(\core_kernel_classes_Resource $delivery)
    {
        /**
         * @var $ResultServiceWrapper ResultServiceWrapper
         */
        $ResultServiceWrapper = $this->getServiceManager()->get(ResultServiceWrapper::SERVICE_ID);

        $resultsService = $ResultServiceWrapper->getService();
        $implementation = $resultsService->getReadableImplementation($delivery);
        $resultsService->setImplementation($implementation);
        return $resultsService;
    }
protected function getResultService(\core_kernel_classes_Resource $delivery)
    {
        /**
         * @var $ResultServiceWrapper ResultServiceWrapper
         */
        $ResultServiceWrapper = $this->getServiceManager()->get(ResultServiceWrapper::SERVICE_ID);

        $resultsService = $ResultServiceWrapper->getService();
        $implementation = $resultsService->getReadableImplementation($delivery);
        $resultsService->setImplementation($implementation);
        return $resultsService;
    }
protected function getResultService ( \ core_kernel_classes_Resource $ delivery ) { /**
         * @var $ResultServiceWrapper ResultServiceWrapper
         */ $ ResultServiceWrapper = $ this -> getServiceManager ( ) -> get ( ResultServiceWrapper :: SERVICE_ID ) ; $ resultsService = $ ResultServiceWrapper -> getService ( ) ; $ implementation = $ resultsService -> getReadableImplementation ( $ delivery ) ; $ resultsService -> setImplementation ( $ implementation ) ; return $ resultsService ; }
Get result service instance.
@param \core_kernel_classes_Resource $delivery
@return ResultsService
Get result service instance .