original_string: private static function getDataMapperInstance()
      {
          $instance = Ioc::make(get_called_class());
  
          if (!$instance->getCollectionName()) {
              throw new NoCollectionNameException();
          }
  
          return $instance->getDataMapper();
      }
code: private static function getDataMapperInstance()
      {
          $instance = Ioc::make(get_called_class());
  
          if (!$instance->getCollectionName()) {
              throw new NoCollectionNameException();
          }
  
          return $instance->getDataMapper();
      }
code_tokens: private static function getDataMapperInstance ( ) { $ instance = Ioc :: make ( get_called_class ( ) ) ; if ( ! $ instance -> getCollectionName ( ) ) { throw new NoCollectionNameException ( ) ; } return $ instance -> getDataMapper ( ) ; }
docstring: Returns the a valid instance from Ioc.
  
  @throws NoCollectionNameException throws exception when has no collection filled
  
  @return mixed
docstring_tokens: Returns the a valid instance from Ioc .