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

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

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

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