Remove a single value from the session

@param string $name
@throws \Exception
@return boolean
967877
public function remove($name)
    {
        $this->instance->unlock();
        $result = $this->instance->remove($name);
        $this->instance->lock();
        return $result;
    }
368043
public function remove($name) {
        $service = null;
        if ($this->has($name)) {
            $service = $this->services[$name];
            unset($this->services[$name]);
        }
        return $service;
    }
1043562
public function removeHeader(string $name): bool
    {
        $name = strtolower($name);
        if (!isset($this->headers[$name])) {
            return false;
        }
        unset($this->headers[$name]);

        return true;
    }
651361
public function deleteParameter($name) {

        if ( !array_key_exists($name, $this->signatures[$this->current_signature]["PARAMETERS"]) ) throw new Exception("Cannot find parameter $name");

        unset($this->signatures[$this->current_signature]["PARAMETERS"][$name]);

        return $this;

    }
1024930
public function removeNamedRoute(string $name)
    {
        $route = $this->getNamedRoute($name);
        // no exception, route exists, now remove by id
        unset($this->routes[$route->getIdentifier()]);
    }
178173
final public function delete($name) {

        if ( array_key_exists($name, $this->rpc_methods) ) {

            unset($this->rpc_methods[$name]);

            $this->logger->debug("Deleted method $name");

            return true;

        } else {

            $this->logger->warning("Cannot delete method $name: entry not found");

            return false;

        }

    }
230174
public static function delete(string $name) : void
    {
        $results = static::$_session->get("_RESULTS");

        unset($results[$name]);

        static::$_session->set("_RESULTS", $results);
    }
1072954
public function delete($name)
    {
        $path = public_path() . DIRECTORY_SEPARATOR . 'packages' . DIRECTORY_SEPARATOR . $name;

        if (!$this->app->make('files')->isDirectory($path)) {
            return false;
        }
        try {
            return $this->publisher->delete($path);
        } catch (Exception $ex) {
            Log::emergency($ex);
            throw new Exception("Unable to delete [{$path}].");
        }
    }
878124
public function removeRouteByName(string $name) : bool
    {
        if ($route = $this->getRouteByName($name)) {
            unset($this->routes[$route->getIdentifier()]);

            return true;
        }

        return false;
    }
696334
public function prune($name) {

        if ($this->name == $name) {
            return false;  //can not remove itself
        }

        foreach($this->children as $precedence => $child) {
            if ($child->name == $name) {
                // clear cache and delete self
                while($this->category_cache) {
                    // delete the cache, but keep the original array address
                    array_pop($this->category_cache);
                }
                unset($this->children[$precedence]);
                return true;
            } else if ($this->children[$precedence]->prune($name)) {
                return true;
            }
        }
        return false;
    }
1137243
public static function delete($name)
    {
        unset($_COOKIE[$name]);
        return Base::getHttp()->setCookie($name, null, -86400, Cookie::$path, Cookie::$domain, Cookie::$secure, Cookie::$httpOnly);
    }
419115
public function remove($name)
    {
        $removed = false;
        if ($this->has($name)) {
            $this->elements->rewind();
            while($this->elements->valid()) {
                if ($this->elements->current()->getName() == $name) {
                    $this->elements->remove();
                    $removed = true;
                    break;
                }
                $this->elements->next();
            }
        }

        return $removed;
    }
312564
public function remove($name)
    {
        unset($this->treated[$name]);
        unset($this->services[$name]);
        unset($this->parameters[$name]);
    }
1188060
public function removeSession($name)
    {
        if ($this->builderMustExist($name)->hasSession($name)) {
            unset($this->sessions[$name]);
        }

        return $this;
    }
1191631
public static function removeRecognition(string $name): bool
    {
        if (isset(self::$recognitions[$name])) {
            unset(self::$recognitions[$name]);
            return true;
        }

        return false;
    }
309343
public function removeGetParameter($name)
    {
        if (isset($this->getParams[$name]))
        {
            unset($this->getParams[$name]);
            return true;
        }
        else return false;
    }
1366052
public static function delete(String $name) : Bool
    {
        $name = Info::rpath($name);

        if( ! is_file($name))
        {
            throw new Exception\FileNotFoundException(NULL, $name);
        }
        else
        {
            return unlink($name);
        }
    }