Removes rule.

@param  string $name
@return string
@throws NotFoundHttpException
342655
public function actionDelete($name)
    {
        $rule = $this->findRule($name);

        $this->authManager->remove($rule);
        $this->authManager->invalidateCache();

        \Yii::$app->session->setFlash('success', \Yii::t('rbac', 'Rule has been removed'));

        return $this->redirect(['index']);
    }
1293264
public function unregister($name)
    {
        if ($this->exists($name)) {
            $this->handlers->remove($name);
        }

        return $this;
    }
856547
public function removeFilterByName($name)
    {
        return $this->removeFilterByFunction(
            function($key, $query) use ($name) {
                $key = $query->getKey();
                return $key == $name;
            }
        );
    }
628674
public function removeAttribute($name) {
		if ($this->_attributes === null) {
			$this->initAttributes();
		}
		
		unset($this->_attributes[$name]);
		
		return $this;
	}
985917
public function remove($name)
    {
        $this->checkLockAndValidateName($name);

        $normalized = $this->normalizeName($name);
        $has = $this->has($normalized);

        if ($has) {
            if (!$this->allowOverride) {
                throw new Exception\NotAllowedException();
            }

            unset($this->entries[$this->names[$normalized]]);
            unset($this->names[$normalized]);
        }

        return $this;
    }
731985
public function disable($name)
    {
        // Get the filter to return it
        $filter = $this->getFilter($name);

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

        return $filter;
    }
964420
public function remove($name)
    {
        //argument 1 must be a string
        Argument::i()->test(1, 'string');

        $this->set($name, null, time() - 3600);

        unset($_COOKIE[$name]);

        return $this;
    }
1356588
public function removeAttribute(string $name)
    {
        $name = strtolower($name);
        if (isset($this->attributes[$name])) {
            unset($this->attributes[$name]);
        }
    }
1137243
public static function delete($name)
    {
        unset($_COOKIE[$name]);
        return Base::getHttp()->setCookie($name, null, -86400, Cookie::$path, Cookie::$domain, Cookie::$secure, Cookie::$httpOnly);
    }
335032
public function removePattern($name)
    {
        foreach ($this->patterns as $k => $p) {
            if ($p[0] === $name) {
                unset($this->patterns[$k]);
            }
        }
    }
1041273
protected function removeSuffix($name)
    {

        $currSuffix = $this->getString($name, $this->suffix);

        return str_replace($currSuffix, '', $name);
    }
1271619
public function removeTable(string $name){

            $status = unlink($file = $this->base . '/' . $name . '.json');
            
            return new \NonDB\Components\Status($status);

        }
660363
public static function clean_page_name($name)
    {
        $name = self::trim_extension_off($name);
        $name = self::trim_sort_number($name);

        $name = str_replace(array('-', '_'), ' ', $name);

        return ucfirst(trim($name));
    }
394773
public function unregister($name)
    {
        $widget = parent::unregister($name);
        $paths = $widget->getPaths();
        if (!is_array($paths)) {
            $this->log->warn(get_class($widget).'::getPaths has invalid return value.');
            $paths = array();
        }

        foreach ($paths as $path) {
            unset($this->paths[$path]);
        }

        return $widget;
    }
547731
public function remove($name)
    {
        $segments = $this->getSegments($name);
        $target = &$this->fields;
        while (count($segments) > 1) {
            $path = array_shift($segments);
            if (!array_key_exists($path, $target)) {
                return;
            }
            $target = &$target[$path];
        }
        unset($target[array_shift($segments)]);
    }
220543
public function del($name)
    {
        $name = $this->prefix . $name;
        return setcookie($name, '', 1, $this->path, $this->domain, $this->secure, $this->httpOnly);
    }
104621
public function removeParam(string $name): self
    {
        $this->parsedUri->queryString()->removeParam($name);
        return $this;
    }