public function remove($service)
    {
        if ($this->has($service)) {
            unset($this->container[$service]);
            return true;
        } else {
            trigger_error(sprintf(
                'Attempted to un-register non-existing service "%s"', $service
            ));

            return false;
        }
    }