| 1 |
<?php |
| 2 |
|
| 3 |
declare(strict_types=1); |
| 4 |
|
| 5 |
namespace UserAccessManager\UserGroup; |
| 6 |
|
| 7 |
class AssignmentInformationFactory |
| 8 |
{ |
| 9 |
public function createAssignmentInformation( |
| 10 |
?string $type = null, |
| 11 |
?string $fromDate = null, |
| 12 |
?string $toDate = null, |
| 13 |
array $recursiveMembership = [] |
| 14 |
): AssignmentInformation { |
| 15 |
return new AssignmentInformation($type, $fromDate, $toDate, $recursiveMembership); |
| 16 |
} |
| 17 |
} |
| 18 |
|