added comment to route finder.
This commit is contained in:
parent
b6feff375b
commit
3541c05ba2
|
@ -69,6 +69,8 @@ private static function load()
|
|||
{
|
||||
$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');
|
||||
|
||||
$recursiveIterator = new \RecursiveIteratorIterator($directoryIterator, \RecursiveIteratorIterator::SELF_FIRST);
|
||||
|
|
Loading…
Reference in New Issue