original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: 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
docstring_tokens: Processes all resources associated to a Source object for the given source name