From 892a75bec11c10fe28a121e29f561d5ee5abee0d Mon Sep 17 00:00:00 2001 From: Dani Garcia Date: Wed, 14 Feb 2024 12:23:48 +0100 Subject: [PATCH] annotate EntityTools methods as internal --- Domain/Service/EntityTools.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Domain/Service/EntityTools.php b/Domain/Service/EntityTools.php index 8ddb4be..08fa8d0 100755 --- a/Domain/Service/EntityTools.php +++ b/Domain/Service/EntityTools.php @@ -42,7 +42,7 @@ public function __construct( /** * Gets the repository for an entity class. - * + * @internal * @param string $fqdn full entity class name. * * @return \Doctrine\ORM\EntityRepository The repository class. @@ -102,6 +102,7 @@ public function lock(EntityInterface $entity, int $expectedVersion, $lockMode = } /** + * @intenal * @param EntityInterface $entity * @param boolean $dispatchImmediately * @return void @@ -117,6 +118,7 @@ public function persist(EntityInterface $entity, $dispatchImmediately = false) } /** + * @internal * @param EntityInterface[] $entities */ public function persistFromArray(array $entities) @@ -129,6 +131,7 @@ public function persistFromArray(array $entities) } /** + * @internal * @param DataTransferObjectInterface $dto * @param EntityInterface|null $entity * @param bool $dispatchImmediately @@ -162,6 +165,7 @@ public function updateEntityByDto( } /** + * @internal * @return void */ public function dispatchQueuedOperations() @@ -172,6 +176,7 @@ public function dispatchQueuedOperations() } /** + * @internal * @param EntityInterface $entity * @return void */ @@ -183,6 +188,7 @@ public function remove(EntityInterface $entity) } /** + * @internal * @param EntityInterface[] $entities * @return void */