src/Container.php
public function release(string $serviceName) : bool
    {
        if (isset($this->resolvedSharedServices[$serviceName]))
        {
            unset($this->resolvedSharedServices[$serviceName]); return true;
        }

        return false;
    }
public function release(string $serviceName) : bool
    {
        if (isset($this->resolvedSharedServices[$serviceName]))
        {
            unset($this->resolvedSharedServices[$serviceName]); return true;
        }

        return false;
    }
Release a shared resolved service from the container. This
will force the service to reload when accessed again.

@param string                $serviceName

@return bool Return false on failure.