opentalentApiService = $opentalentApiService; } /** * -- This method is expected by Fluid -- * Declares the viewhelper's parameters */ public function initializeArguments() { $this->registerArgument( 'path', 'string', 'The path (relative url) of the image in the storage', true ); } /** * -- This method is expected by Fluid -- * Renders the content as html * * @return string * @throws ApiRequestException */ public function render() { $path = $this->arguments['path']; return $this->opentalentApiService->getApiUri($path, true); } }