I think 'dump-autoload' command is more proper.
parent
825b4b9c63
commit
82831bec13
|
@ -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