src/Robo/Filesets/FilesetManager.php
protected function getFilesetsFromAnnotations($fileset_annotations) {
    $filesets = [];
    $this->logger->debug("Gathering filesets from annotated methods...");;
    foreach ($fileset_annotations as $class => $fileset) {
      if (class_exists($class)) {
        $fileset_class = new $class();
        $fileset_class->setConfig($this->config);
        foreach ($fileset as $id => $method_name) {
          $this->logger->debug("Calling $method_name on $class object...");
          if (method_exists($fileset_class, $method_name)) {
            $filesets[$id] = call_user_func_array([$fileset_class, $method_name],
              []);
          }
        }
      }
    }
    return $filesets;
  }
protected function getFilesetsFromAnnotations($fileset_annotations) {
    $filesets = [];
    $this->logger->debug("Gathering filesets from annotated methods...");;
    foreach ($fileset_annotations as $class => $fileset) {
      if (class_exists($class)) {
        $fileset_class = new $class();
        $fileset_class->setConfig($this->config);
        foreach ($fileset as $id => $method_name) {
          $this->logger->debug("Calling $method_name on $class object...");
          if (method_exists($fileset_class, $method_name)) {
            $filesets[$id] = call_user_func_array([$fileset_class, $method_name],
              []);
          }
        }
      }
    }
    return $filesets;
  }
protected function getFilesetsFromAnnotations ( $ fileset_annotations ) { $ filesets = [ ] ; $ this -> logger -> debug ( "Gathering filesets from annotated methods..." ) ; ; foreach ( $ fileset_annotations as $ class => $ fileset ) { if ( class_exists ( $ class ) ) { $ fileset_class = new $ class ( ) ; $ fileset_class -> setConfig ( $ this -> config ) ; foreach ( $ fileset as $ id => $ method_name ) { $ this -> logger -> debug ( "Calling $method_name on $class object..." ) ; if ( method_exists ( $ fileset_class , $ method_name ) ) { $ filesets [ $ id ] = call_user_func_array ( [ $ fileset_class , $ method_name ] , [ ] ) ; } } } } return $ filesets ; }
Gets an array of instantiated filesets, given an array of annotations.

@param array $fileset_annotations
An array of fileset annotations, as returned by
$this->getAllFilesetAnnotations().

@return \Symfony\Component\Finder\Finder[]
An array of instantiated filesets.
Gets an array of instantiated filesets given an array of annotations .