original_string: public function getResources(SourceInterface $source)
      {
          // Getting resources iterator
          try {
              return $source->getContentIterator();
          } catch (\Exception $e) {
              throw new Exception\SourceGetDataException(
                  sprintf(
                      'Exception caught while getting the resources for the following source object: %s',
                      $source->toString()
                  )
              );
          }
      }
code: public function getResources(SourceInterface $source)
      {
          // Getting resources iterator
          try {
              return $source->getContentIterator();
          } catch (\Exception $e) {
              throw new Exception\SourceGetDataException(
                  sprintf(
                      'Exception caught while getting the resources for the following source object: %s',
                      $source->toString()
                  )
              );
          }
      }
code_tokens: public function getResources ( SourceInterface $ source ) { // Getting resources iterator try { return $ source -> getContentIterator ( ) ; } catch ( \ Exception $ e ) { throw new Exception \ SourceGetDataException ( sprintf ( 'Exception caught while getting the resources for the following source object: %s' , $ source -> toString ( ) ) ) ; } }
docstring: Returns an Iterator containing all the resources for the given source object
  
  @param \Msl\ResourceProxy\Source\SourceInterface $source the source object
  
  @throws \Msl\ResourceProxy\Exception\SourceGetDataException
  
  @return null|Iterator
docstring_tokens: Returns an Iterator containing all the resources for the given source object