public static function invoke($callable, ...$args) { self::check($callable); return call_user_func_array($callable, $args); }
protected function createComponent($name) { $class = $this->containerClass; $this[$name] = $container = new $class(); $this->containerFactory->invoke($container, $this->parent); return $container; }