LifecycleEventArgs.php
9 months ago
ListenersInvoker.php
9 months ago
LoadClassMetadataEventArgs.php
9 months ago
OnClassMetadataNotFoundEventArgs.php
9 months ago
OnClearEventArgs.php
9 months ago
OnFlushEventArgs.php
9 months ago
PostFlushEventArgs.php
9 months ago
PostLoadEventArgs.php
9 months ago
PostPersistEventArgs.php
9 months ago
PostRemoveEventArgs.php
9 months ago
PostUpdateEventArgs.php
9 months ago
PreFlushEventArgs.php
9 months ago
PrePersistEventArgs.php
9 months ago
PreRemoveEventArgs.php
9 months ago
PreUpdateEventArgs.php
9 months ago
index.php
9 months ago
PostFlushEventArgs.php
16 lines
| 1 | <?php |
| 2 | declare (strict_types=1); |
| 3 | namespace MailPoetVendor\Doctrine\ORM\Event; |
| 4 | if (!defined('ABSPATH')) exit; |
| 5 | use MailPoetVendor\Doctrine\Deprecations\Deprecation; |
| 6 | use MailPoetVendor\Doctrine\ORM\EntityManagerInterface; |
| 7 | use MailPoetVendor\Doctrine\Persistence\Event\ManagerEventArgs; |
| 8 | class PostFlushEventArgs extends ManagerEventArgs |
| 9 | { |
| 10 | public function getEntityManager() |
| 11 | { |
| 12 | Deprecation::trigger('doctrine/orm', 'https://github.com/doctrine/orm/issues/9875', 'Method %s() is deprecated and will be removed in Doctrine ORM 3.0. Use getObjectManager() instead.', __METHOD__); |
| 13 | return $this->getObjectManager(); |
| 14 | } |
| 15 | } |
| 16 |