public static function __callStatic($name, array $arguments)
{
if (!isset($arguments[0]) || !$arguments[0] instanceof ContainerInterface) {
throw new InvalidArgumentException(sprintf('The first argument must be of type %s', ContainerInterface::class));
}
return (new static($name))->__invoke($arguments[0]);
}