src/Robo/Filesets/Filesets.php
protected function getYamlFilesetFinder() {
    $finder = new Finder();
    $finder
      ->files()
      ->name("*.yml")
      ->name("*.yaml")
      ->notPath('bower_components')
      ->notPath('node_modules')
      ->notPath('vendor');

    return $finder;
  }
protected function getYamlFilesetFinder() {
    $finder = new Finder();
    $finder
      ->files()
      ->name("*.yml")
      ->name("*.yaml")
      ->notPath('bower_components')
      ->notPath('node_modules')
      ->notPath('vendor');

    return $finder;
  }
protected function getYamlFilesetFinder ( ) { $ finder = new Finder ( ) ; $ finder -> files ( ) -> name ( "*.yml" ) -> name ( "*.yaml" ) -> notPath ( 'bower_components' ) -> notPath ( 'node_modules' ) -> notPath ( 'vendor' ) ; return $ finder ; }
Adds Drupalistic YAML patterns to a Symfony finder object.

@return \Symfony\Component\Finder\Finder
The finder object.
Adds Drupalistic YAML patterns to a Symfony finder object .