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()
                )
            );
        }
    }