registerArgument('objects', QueryResult::class, 'Objects to show in table.', true); $this->registerArgument( 'renderFunction', 'string', 'callabe to use to render single object', true ); $this->registerArgument( 'searchProperties', 'array', 'an array of pathes, which should be used during search evaluation', false, [] ); } public function validateArguments() { parent::validateArguments(); $this->validateRenderFunctionArgument('renderFunction'); } /** * @throws InfiniteLoopException * @throws InvalidControllerException * @throws MissingControllerException * @throws StopActionException */ public function render(): string { return $this->initiateSubRequest(); } }