public function once($callable)
    {
        return function (Container $container) use ($callable) {
            static $called = false;
            static $result;

            if (false === $called) {
                $result = $callable($container);
                $called = true;
            }

            return $result;
        };
    }