Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Commit

Permalink
add mention of configuration in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kunicmarko20 committed Apr 8, 2018
1 parent 8e7b157 commit 0165969
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Expand Up @@ -22,6 +22,7 @@ Documentation
-------------

* [Installation](#installation)
* [Configuration](#configuration)
* [How to use](#how-to-use)
* [Annotations](#annotations)
* [Admin](#admin)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0165969

Please sign in to comment.