@@ 771-782 (lines=12) @@ | ||
768 | return new RemoveTypeDescriptorFromModuleFile($typeName, $this->rootModuleFile); |
|
769 | } |
|
770 | ||
771 | private function loadTypeDescriptor(BindingTypeDescriptor $typeDescriptor, Module $module) |
|
772 | { |
|
773 | $typeName = $typeDescriptor->getTypeName(); |
|
774 | ||
775 | return new InterceptedOperation( |
|
776 | new LoadTypeDescriptor($typeDescriptor, $module, $this->typeDescriptors), |
|
777 | array( |
|
778 | new UpdateDuplicateMarksForTypeName($typeName, $this->typeDescriptors), |
|
779 | new ReloadBindingDescriptorsByTypeName($typeName, $this->bindingDescriptors, $this->typeDescriptors), |
|
780 | ) |
|
781 | ); |
|
782 | } |
|
783 | ||
784 | private function unloadTypeDescriptor(BindingTypeDescriptor $typeDescriptor) |
|
785 | { |
|
@@ 784-795 (lines=12) @@ | ||
781 | ); |
|
782 | } |
|
783 | ||
784 | private function unloadTypeDescriptor(BindingTypeDescriptor $typeDescriptor) |
|
785 | { |
|
786 | $typeName = $typeDescriptor->getTypeName(); |
|
787 | ||
788 | return new InterceptedOperation( |
|
789 | new UnloadTypeDescriptor($typeDescriptor, $this->typeDescriptors), |
|
790 | array( |
|
791 | new UpdateDuplicateMarksForTypeName($typeName, $this->typeDescriptors), |
|
792 | new ReloadBindingDescriptorsByTypeName($typeName, $this->bindingDescriptors, $this->typeDescriptors), |
|
793 | ) |
|
794 | ); |
|
795 | } |
|
796 | ||
797 | private function addBindingType(BindingTypeDescriptor $typeDescriptor) |
|
798 | { |