[README] add autoload-file option [closes #302]

This commit is contained in:
TomasVotruba 2018-02-08 15:25:45 +01:00
parent 462ab26cb7
commit 16c83243f0

View File

@ -62,6 +62,14 @@ And Rector is accessible as:
vendor/bin/rector
```
### Extra Autoloading
Rector relies on project and autoloading of it's classes. To specify own autoload file, use `--autoload-file` option:
```bash
vendor/bin/rector --autoload-file ../project/vendor/autoload.php
```
## How to Reconstruct your Code
### A. Prepared Sets