array<class-string, list<object>>|null $attributes:
public function setController(callable $controller, ?array $attributes = null) : void { $this->controllerEvent ->setController($controller, $attributes); unset($this->namedArguments); }