Skip to content

Commit

Permalink
annotate EntityTools methods as internal
Browse files Browse the repository at this point in the history
  • Loading branch information
danigargar committed Feb 19, 2024
1 parent 429c51a commit 892a75b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Domain/Service/EntityTools.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -102,6 +102,7 @@ public function lock(EntityInterface $entity, int $expectedVersion, $lockMode =
}

/**
* @intenal
* @param EntityInterface $entity
* @param boolean $dispatchImmediately
* @return void
Expand All @@ -117,6 +118,7 @@ public function persist(EntityInterface $entity, $dispatchImmediately = false)
}

/**
* @internal
* @param EntityInterface[] $entities
*/
public function persistFromArray(array $entities)
Expand All @@ -129,6 +131,7 @@ public function persistFromArray(array $entities)
}

/**
* @internal
* @param DataTransferObjectInterface $dto
* @param EntityInterface|null $entity
* @param bool $dispatchImmediately
Expand Down Expand Up @@ -162,6 +165,7 @@ public function updateEntityByDto(
}

/**
* @internal
* @return void
*/
public function dispatchQueuedOperations()
Expand All @@ -172,6 +176,7 @@ public function dispatchQueuedOperations()
}

/**
* @internal
* @param EntityInterface $entity
* @return void
*/
Expand All @@ -183,6 +188,7 @@ public function remove(EntityInterface $entity)
}

/**
* @internal
* @param EntityInterface[] $entities
* @return void
*/
Expand Down

0 comments on commit 892a75b

Please sign in to comment.