then = $then; } public function invoke(...$args) { call_user_func($this->then, ...$args); } }