contributte / doctrine-orm

:fire: Well-integrated Doctrine ORM for Nette Framework
https://contributte.org/packages/nettrine/orm.html
MIT License
56 stars 29 forks source link

OrmAnnotations cache option does not accept Statement #63

Closed MartkCz closed 4 years ago

MartkCz commented 4 years ago

I've following code:

cache: @App\Factories\CacheFactory::createDoctrineCache('Doctrine.Annotations')

Exception given: The option 'orm.annotations › cache' expects to be string or null, object Nette\DI\Definitions\Statement given