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