From 338f398b2f14b0da572d214fc535de022b1a53b3 Mon Sep 17 00:00:00 2001 From: Jan Pecha Date: Sun, 10 Jan 2021 11:15:19 +0100 Subject: [PATCH] Readme: updated --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index f2dce00..609038c 100644 --- a/readme.md +++ b/readme.md @@ -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 ), // ...