Created
December 5, 2014 22:22
-
-
Save lyrixx/565752f13499a3fa17d9 to your computer and use it in GitHub Desktop.
Melody demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
<<<CONFIG | |
packages: | |
- "symfony/finder: ~2.5" | |
CONFIG; | |
$finder = Symfony\Component\Finder\Finder::create() | |
->in(__DIR__) | |
->name('*.php') | |
; | |
foreach ($finder as $file) { | |
echo $file, "\n"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment