| 1 | <?php |
||
| 9 | class DragonService |
||
| 10 | { |
||
| 11 | /** @var EntityManager $em */ |
||
| 12 | private $em; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param EntityManager $em |
||
| 16 | */ |
||
| 17 | public function __construct(EntityManager $em) |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param array $data |
||
| 24 | * @return $Dragon |
||
|
|
|||
| 25 | */ |
||
| 26 | public function createFromArray(array $data) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param array $data |
||
| 35 | * @return $Dragon |
||
| 36 | */ |
||
| 37 | public function updateFromArray(Dragon $dragon, array $data) |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param Dragon $dragon |
||
| 47 | * @return Dragon |
||
| 48 | * @throws \Doctrine\ORM\ORMException |
||
| 49 | * @throws \Doctrine\ORM\OptimisticLockException |
||
| 50 | */ |
||
| 51 | public function saveDragon(Dragon $dragon): Dragon |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @param Dragon $dragon |
||
| 58 | * @throws \Doctrine\ORM\ORMException |
||
| 59 | * @throws \Doctrine\ORM\OptimisticLockException |
||
| 60 | */ |
||
| 61 | public function deleteDragon(Dragon $dragon): void |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @return DragonRepository |
||
| 68 | */ |
||
| 69 | public function getRepository(): DragonRepository |
||
| 76 | } |
||
| 77 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.