collector = $collector; $this->method = $method; } public function __invoke(array $parameters = []): mixed { return $this->collector->$method(...$parameters); } public function __call(string $method, array $parameters = []): mixed { return $this->collector->$method(...$parameters); } }