| | |
| | | |
| | | $this->registerAdditionalQueueTypes($executor); |
| | | } |
| | | protected function registerAdditionalQueueTypes(IntegrationExecutor $executor):void |
| | | { |
| | | //Empty. Integration extensions can register additional operation types from here. |
| | | } |
| | | |
| | | /** |
| | | * @return void Sets the $this->contentTypes |
| | | * Empty. Integration extensions can register additional operation types here |
| | | * @param IntegrationExecutor $executor |
| | | * @return void |
| | | */ |
| | | protected function registerAdditionalQueueTypes(IntegrationExecutor $executor):void {} |
| | | |
| | | /** |
| | | * @return void Sets the $this->contentTypes, which is an array of TYPE => [$fields] |
| | | * Should probably set the endpoints here as well, which would be an array of [ TYPE => [ 'create' => '','update' =>'', 'delete'=>'', 'batchCreate'=>'','batchUpdate'=>'', 'batchDelete'=>''] endpoints |
| | | */ |
| | | abstract protected function setContentTypes():void; |
| | | } |