src/Surfnet/StepupMiddleware/CommandHandlingBundle/Configuration/Dispatcher/CreateInstitutionConfigurationCommandDispatcher.php 1 location
|
@@ 39-46 (lines=8) @@
|
36 |
|
$this->pipeline = $pipeline; |
37 |
|
} |
38 |
|
|
39 |
|
public function createConfigurationFor(Institution $institution) |
40 |
|
{ |
41 |
|
$command = new CreateInstitutionConfigurationCommand(); |
42 |
|
$command->UUID = (string) Uuid::uuid4(); |
43 |
|
$command->institution = $institution; |
44 |
|
|
45 |
|
$this->pipeline->process($command); |
46 |
|
} |
47 |
|
} |
48 |
|
|
src/Surfnet/StepupMiddleware/CommandHandlingBundle/Configuration/Processor/InstitutionConfigurationProcessor.php 1 location
|
@@ 103-110 (lines=8) @@
|
100 |
|
/** |
101 |
|
* @param Institution $institution |
102 |
|
*/ |
103 |
|
private function createConfigurationFor(Institution $institution) |
104 |
|
{ |
105 |
|
$command = new CreateInstitutionConfigurationCommand(); |
106 |
|
$command->UUID = (string) Uuid::uuid4(); |
107 |
|
$command->institution = $institution; |
108 |
|
|
109 |
|
$this->pipeline->process($command); |
110 |
|
} |
111 |
|
} |
112 |
|
|