public function processResourcesBySourceName($sourceName)
    {
        // Getting source object
        $source = $this->getSourceByName($sourceName);
        if (!$source instanceof SourceInterface) {
            throw new Exception\SourceNotFoundException(
                $sourceName,
                sprintf(
                    'Impossible to find a source object with the following name: \'%s\'.',
                    $sourceName
                )
            );
        }

        // Now processing the found source object
        return $this->processResourcesBySource($source);
    }
public function processResourcesBySourceName($sourceName)
    {
        // Getting source object
        $source = $this->getSourceByName($sourceName);
        if (!$source instanceof SourceInterface) {
            throw new Exception\SourceNotFoundException(
                $sourceName,
                sprintf(
                    'Impossible to find a source object with the following name: \'%s\'.',
                    $sourceName
                )
            );
        }

        // Now processing the found source object
        return $this->processResourcesBySource($source);
    }
public function processResourcesBySourceName ( $ sourceName ) { // Getting source object $ source = $ this -> getSourceByName ( $ sourceName ) ; if ( ! $ source instanceof SourceInterface ) { throw new Exception \ SourceNotFoundException ( $ sourceName , sprintf ( 'Impossible to find a source object with the following name: \'%s\'.' , $ sourceName ) ) ; } // Now processing the found source object return $ this -> processResourcesBySource ( $ source ) ; }
Processes all resources associated to a Source object for the given source name

@param string $sourceName the source name to be processed

@return bool

@throws \Msl\ResourceProxy\Exception\SourceNotFoundException
@throws \Msl\ResourceProxy\Exception\SourceGetDataException
@throws \Msl\ResourceProxy\Exception\PostParseException
Processes all resources associated to a Source object for the given source name