protected function getService()
    {
        if (!isset($this->service)) {
            $this->service = $this->getServiceLocator()
                    ->get($this->getModuleNamespace() . '\Service\\' . $this->getEntityName());
        }

        return $this->service;
    }
protected function getService()
    {
        if (!isset($this->service)) {
            $this->service = $this->getServiceLocator()
                    ->get($this->getModuleNamespace() . '\Service\\' . $this->getEntityName());
        }

        return $this->service;
    }
protected function getService ( ) { if ( ! isset ( $ this -> service ) ) { $ this -> service = $ this -> getServiceLocator ( ) -> get ( $ this -> getModuleNamespace ( ) . '\Service\\' . $ this -> getEntityName ( ) ) ; } return $ this -> service ; }
Retrieve the service

@return AbstractService
Retrieve the service