src/main/php/CommandLine/Factories/FinderFactory.php
public function build()
    {
        $result = new Finder();
        if (method_exists($result, 'useBestAdapter')) {
            $result->useBestAdapter();
        }
        $result->ignoreDotFiles(false);
        $result->ignoreVCS(false);

        return $result;
    }
public function build()
    {
        $result = new Finder();
        if (method_exists($result, 'useBestAdapter')) {
            $result->useBestAdapter();
        }
        $result->ignoreDotFiles(false);
        $result->ignoreVCS(false);

        return $result;
    }
public function build ( ) { $ result = new Finder ( ) ; if ( method_exists ( $ result , 'useBestAdapter' ) ) { $ result -> useBestAdapter ( ) ; } $ result -> ignoreDotFiles ( false ) ; $ result -> ignoreVCS ( false ) ; return $ result ; }
This method returns a new Finder instance.

@return Finder
This method returns a new Finder instance .