Merge pull request #3684 from findstar/proper-autoload
I think 'dump-autoload' command is more proper.pull/3688/head
commit
6d10eb0076
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue