Skip to content

Commit

Permalink
Readme: updated
Browse files Browse the repository at this point in the history
  • Loading branch information
janpecha committed Feb 15, 2021
1 parent f79460a commit 338f398
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ class FooExtension extends CompilerExtension implements IEntityProvider
array(
'table' => 'foo_articles',
'primaryKey' => 'id',
'entity' => 'Foo\Model\Article',
'repository' => 'Foo\Model\ArticleRepository', # repository is auto-registred in DI container, see option 'registerRepository'
'entity' => Foo\Model\Article::class,
'repository' => Foo\Model\ArticleRepository::class, # repository is auto-registred in DI container, see option 'registerRepository'
'registerRepository' => TRUE, // optional
),
// ...
Expand Down

0 comments on commit 338f398

Please sign in to comment.