symfony2admingenerator / GeneratorBundle

Admingenerator for Symfony. Parse YAML files to build customized backend.
MIT License
67 stars 29 forks source link

Finder short circuit if path is not a dir #293

Closed ioleo closed 8 years ago

ioleo commented 8 years ago

I think we should check here for is_dir instead of simply file_exists. If there is no directory, there is no need to instantiate Finder object.

sescandell commented 8 years ago

:+1: makes sense

bobvandevijver commented 8 years ago

:+1: Sure, why not. Although when you have a config.yml and a services.yml it still does not help :sweat_smile: