added comment to route finder.
This commit is contained in:
@@ -69,6 +69,8 @@ class Finder {
|
|||||||
{
|
{
|
||||||
$routes = array();
|
$routes = array();
|
||||||
|
|
||||||
|
// Since route files can be nested deep within the route directory, we need to
|
||||||
|
// recursively spin through the directory to find every file.
|
||||||
$directoryIterator = new \RecursiveDirectoryIterator(APP_PATH.'routes');
|
$directoryIterator = new \RecursiveDirectoryIterator(APP_PATH.'routes');
|
||||||
|
|
||||||
$recursiveIterator = new \RecursiveIteratorIterator($directoryIterator, \RecursiveIteratorIterator::SELF_FIRST);
|
$recursiveIterator = new \RecursiveIteratorIterator($directoryIterator, \RecursiveIteratorIterator::SELF_FIRST);
|
||||||
|
|||||||
Reference in New Issue
Block a user