operationResolver) { $options['processors'] = array_merge([$this->operationResolver], Analysis::processors()); } $annotation = \Swagger\scan($projectPath, $options); return json_decode(json_encode($annotation)); } finally { restore_error_handler(); } }, $overwrite); } /** * If set, the describer will try to complete paths and create * implicit operations. */ public function setOperationResolver(OperationResolver $operationResolver) { $this->operationResolver = $operationResolver; } }