steevanb / doctrine-read-only-hydrator

Add SimpleObject and ReadOnly hydrators do Doctrine.
GNU General Public License v3.0
57 stars 14 forks source link

steevanb\DoctrineReadOnlyHydrator\EventSubscriber\ReadOnlySubscriber::postLoad(): Argument #1 ($eventArgs) must be of type Doctrine\Common\Persistence\Event\LifecycleEventArgs, Doctrine\ORM\Event\LifecycleEventArgs given #25

Open tourze opened 2 years ago

tourze commented 2 years ago

Seems that in vendor/steevanb/doctrine-read-only-hydrator/EventSubscriber/ReadOnlySubscriber.php, Doctrine\Common\Persistence\Event\LifecycleEventArgs not found. I can find \Doctrine\Persistence\Event\LifecycleEventArgs in the vendor directory. My doctrine/orm veresion is 2.13.1