Browse Source

change psr method to directories.

Taylor Otwell 13 years ago
parent
commit
6b14bd394e
2 changed files with 3 additions and 3 deletions
  1. 2 2
      application/start.php
  2. 1 1
      laravel/autoloader.php

+ 2 - 2
application/start.php

@@ -21,7 +21,7 @@ Autoloader::map(array(
 
 /*
 |--------------------------------------------------------------------------
-| Auto-Loader PSR-0 Directories
+| Auto-Loader Directories
 |--------------------------------------------------------------------------
 |
 | The Laravel auto-loader can search directories for files using the PSR-0
@@ -34,7 +34,7 @@ Autoloader::map(array(
 |
 */
 
-Autoloader::psr(array(
+Autoloader::directories(array(
 	path('app').'models',
 	path('app').'libraries',
 ));

+ 1 - 1
laravel/autoloader.php

@@ -173,7 +173,7 @@ class Autoloader {
 	 * @param  string|array  $directory
 	 * @return void
 	 */
-	public static function psr($directory)
+	public static function directories($directory)
 	{
 		$directories = static::format($directory);