|
@@ 1016-1027 (lines=12) @@
|
| 1013 |
|
); |
| 1014 |
|
} |
| 1015 |
|
|
| 1016 |
|
private function unloadTypeDescriptor(BindingTypeDescriptor $typeDescriptor) |
| 1017 |
|
{ |
| 1018 |
|
$typeName = $typeDescriptor->getTypeName(); |
| 1019 |
|
|
| 1020 |
|
return new InterceptedOperation( |
| 1021 |
|
new UnloadTypeDescriptor($typeDescriptor, $this->typeDescriptors), |
| 1022 |
|
array( |
| 1023 |
|
new UpdateDuplicateMarksForTypeName($typeName, $this->typeDescriptors), |
| 1024 |
|
new ReloadBindingDescriptorsByTypeName($typeName, $this->bindingDescriptors, $this->typeDescriptors), |
| 1025 |
|
) |
| 1026 |
|
); |
| 1027 |
|
} |
| 1028 |
|
|
| 1029 |
|
private function addBindingType(BindingTypeDescriptor $typeDescriptor) |
| 1030 |
|
{ |
|
@@ 1003-1014 (lines=12) @@
|
| 1000 |
|
return new RemoveTypeDescriptorFromModuleFile($typeName, $this->rootModuleFile); |
| 1001 |
|
} |
| 1002 |
|
|
| 1003 |
|
private function loadTypeDescriptor(BindingTypeDescriptor $typeDescriptor, Module $module) |
| 1004 |
|
{ |
| 1005 |
|
$typeName = $typeDescriptor->getTypeName(); |
| 1006 |
|
|
| 1007 |
|
return new InterceptedOperation( |
| 1008 |
|
new LoadTypeDescriptor($typeDescriptor, $module, $this->typeDescriptors), |
| 1009 |
|
array( |
| 1010 |
|
new UpdateDuplicateMarksForTypeName($typeName, $this->typeDescriptors), |
| 1011 |
|
new ReloadBindingDescriptorsByTypeName($typeName, $this->bindingDescriptors, $this->typeDescriptors), |
| 1012 |
|
) |
| 1013 |
|
); |
| 1014 |
|
} |
| 1015 |
|
|
| 1016 |
|
private function unloadTypeDescriptor(BindingTypeDescriptor $typeDescriptor) |
| 1017 |
|
{ |