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) |
||
34 | |||
35 | /** |
||
36 | * @param Dragon $dragon |
||
37 | * @return Dragon |
||
38 | * @throws \Doctrine\ORM\ORMException |
||
39 | * @throws \Doctrine\ORM\OptimisticLockException |
||
40 | */ |
||
41 | public function saveDragon(Dragon $dragon): Dragon |
||
45 | |||
46 | /** |
||
47 | * @param Dragon $dragon |
||
48 | * @throws \Doctrine\ORM\ORMException |
||
49 | * @throws \Doctrine\ORM\OptimisticLockException |
||
50 | */ |
||
51 | public function deleteDragon(Dragon $dragon) |
||
55 | |||
56 | /** |
||
57 | * @return DragonRepository |
||
58 | */ |
||
59 | public function getRepository(): DragonRepository |
||
66 | } |
||
67 |
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.