public function getFinder(array $paths)
    {
        $finder = (empty($this->finder)) ? Finder::create() : $this->finder;

        return $finder->files()->in($paths)->name('*.'.$this->laravel['twig.extension']);
    }
public function getFinder(array $paths)
    {
        $finder = (empty($this->finder)) ? Finder::create() : $this->finder;

        return $finder->files()->in($paths)->name('*.'.$this->laravel['twig.extension']);
    }
public function getFinder ( array $ paths ) { $ finder = ( empty ( $ this -> finder ) ) ? Finder :: create ( ) : $ this -> finder ; return $ finder -> files ( ) -> in ( $ paths ) -> name ( '*.' . $ this -> laravel [ 'twig.extension' ] ) ; }
Get a finder instance of Twig files in the specified directories.

@param array $paths Paths to search for files in.

@return \Symfony\Component\Finder\Finder
Get a finder instance of Twig files in the specified directories .