| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class ContactFactory |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @Factory() |
||
| 16 | * @param string $name |
||
| 17 | * @param Contact|null $manager |
||
| 18 | * @param Contact[] $relations |
||
| 19 | * @return Contact |
||
| 20 | */ |
||
| 21 | public function createContact(string $name, DateTimeInterface $birthDate, ?UploadedFileInterface $photo = null, ?Contact $manager = null, array $relations= []): Contact |
||
| 33 |