function __invoke(Di $di, $share = []) { if (is_string($this->x)) { return $di->create($this->x, $this->params, false, $share); } else { return call_user_func_array($this->x, $this->params); } }