From 466f05499fa79cfacb5d972d76c84979b3241c55 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 7 Nov 2011 11:49:45 -0600 Subject: [PATCH] clean up auto-loader comment. --- laravel/autoloader.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/laravel/autoloader.php b/laravel/autoloader.php index 07202c6b..6233df58 100644 --- a/laravel/autoloader.php +++ b/laravel/autoloader.php @@ -59,6 +59,7 @@ protected static function find($class) // If the namespace has been registered as a PSR-0 compliant library, we will // load the library according to the PSR-0 naming standards, which state that // namespaces and underscores indicate the directory hierarchy of the class. + // // The PSR-0 standard is exactly like the typical Laravel standard, the only // difference being that Laravel files are all lowercase, while PSR-0 states // that the file name should match the class name. @@ -77,9 +78,7 @@ protected static function find($class) // If we could not find the class file in any of the auto-loaded locations // according to the Laravel naming standard, we will search the libraries - // directory for the class according to the PSR-0 naming standard. If the - // file exists, we will add the class namespace to the array of registered - // libraries that are loaded following the PSR-0 standard. + // directory for the class according to the PSR-0 naming standard. if (file_exists($path = LIBRARY_PATH.str_replace('_', '/', $file).EXT)) { static::$libraries[] = $namespace;