protected function _assignDefinitionContainer(callable $definition, BaseContainerInterface $container)
    {
        return function (BaseContainerInterface $c) use ($definition, $container) {
            $args    = func_get_args();
            $args[0] = $container;

            return $this->_invokeCallable($definition, $args);
        };
    }