public function getService($name)
    {
        /* @TODO: [ZF3] ->getServiceLocator() should be removed in future */
        $config = $this->dm->getConfiguration();
        return $this->dm->getConfiguration()->getServiceLocator()->get($name);
    }
public function getService($name)
    {
        /* @TODO: [ZF3] ->getServiceLocator() should be removed in future */
        $config = $this->dm->getConfiguration();
        return $this->dm->getConfiguration()->getServiceLocator()->get($name);
    }
@param $name

@return mixed