diff --git a/README.md b/README.md index 4ae2b50..043d83d 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ Documentation ------------- * [Installation](#installation) +* [Configuration](#configuration) * [How to use](#how-to-use) * [Annotations](#annotations) * [Admin](#admin) @@ -62,6 +63,16 @@ return [ ]; ``` +## Configuration + +By default we scan all files in your `src` directory, if you save your entities somewhere +else you can change the directory: + +```yaml +sonata_annotation: + directory: '%kernel.project_dir%/src/' +``` + ## How to use Instead of creating class for Admin it is enough to just add annotation