1
0
Fork 0

I think 'dump-autoload' command is more proper.

pull/3684/head
findstar 2015-01-28 15:07:44 +09:00
parent 825b4b9c63
commit 82831bec13
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ You define a mapping from namespaces to directories. The `src` directory would
be in your project root, on the same level as `vendor` directory is. An example be in your project root, on the same level as `vendor` directory is. An example
filename would be `src/Foo.php` containing an `Acme\Foo` class. filename would be `src/Foo.php` containing an `Acme\Foo` class.
After adding the `autoload` field, you have to re-run `install` to re-generate After adding the `autoload` field, you have to re-run `dump-autoload` to re-generate
the `vendor/autoload.php` file. the `vendor/autoload.php` file.
Including that file will also return the autoloader instance, so you can store Including that file will also return the autoloader instance, so you can store