Ignore command

The "ignore" command is for consumers. It removes the named tube from the
watch list for the current connection.

@param  string $tube Tube to remove from the watch list
@return self
186727
public function ignoreTube($tube)
    {
        $this->sendToAllConnections('ignoreTube', $tube);
        if (!in_array($tube, $this->ignoring)) {
            $this->ignoring[] = $tube;
        }

        return $this;
    }
439975
public function except($ignore)
    {
        $ignore = is_array($ignore) ? $ignore : func_get_args();

        return $this->filter(function ($value, $key) use ($ignore) {
            return !in_array($key, $ignore, true);
        });
    }
137521
function delete($key) {
        parent::delete($key);
        if($this !== $this->client->channels) {
            $this->client->channels->delete($key);
        }
        
        return $this;
    }
289945
public function remove($path)
    {
        if ($this->contains($path)) {
            $item = $this->items[$path];
            $item['instance']->removePathListener($item['listener_index']);
            unset($this->items[$path]);
        }
        return $this;
    }
1066936
protected function clearTube($tube, $state = 'ready')
    {
        $this->logger->info(sprintf('Clearing all jobs with the "%s" state in tube "%s"', $state, $tube));

        while ($job = $this->peek($tube, $state)) {
            try {
                $this->delete($job);
            } catch (Exception $e) {
                // job could have been deleted by another process
                if (false === strpos($e->getMessage(), 'NOT_FOUND')) {
                    throw $e;
                }
            }
        }
    }
871163
public function forget($key)
    {

        try {

            DB::table($this->table)->where('key', 'LIKE', $key . '.%')->delete();

            DB::table($this->table)->where('key', 'LIKE', $key)->delete();

        } catch (\Exception $e) {

            throw new SaveException("Cannot remove item from database: " . $e->getMessage());

        }
    }
1228869
public function forget($key)
	{
		if (array_key_exists($key, $this->vars))
		{
			unset($this->vars[$key]);
		}

		return $this;
	}
997401
public static function ignoreif($callback)
    {
        if (is_callable($callback) === false) {
            throw new Exception('Invalid callback');
        }

        App::on('init', function () use ($callback) {
            if ($callback()) {
                App::env('maintenance', false);
            }
        });
    }
278883
protected function removeScope( Node$scope ):self
	{
		if( $scope!==array_shift($this->scopes) ){
			$this->throw('Scope nesting error');
		};

		return $this;
	}
344811
public static function notFound(Command $command)
    {
        $parts = explode('\\', get_class($command));

        return new self(sprintf('Not found handler for command "%s".', end($parts)));
    }
641019
public function ignoreVCSIgnored(bool $ignoreVCSIgnored)
    {
        if ($ignoreVCSIgnored) {
            $this->ignore |= static::IGNORE_VCS_IGNORED_FILES;
        } else {
            $this->ignore &= ~static::IGNORE_VCS_IGNORED_FILES;
        }

        return $this;
    }
65627
public function skip(...$middleware) : self
    {
        foreach ($middleware as $m) {
            unset($this->globalMiddleware[$m]);
        }

        return $this;
    }
763612
public function remove(string $key): self
    {
        $this->data = Arr::remove($this->data, $key);
        return $this;
    }
1108652
public function mute($mute=true)
    {
        if (!$mute) {
            $this->filter = $this->previousFilter;
            $this->previousFilter = null;
            return $this;
        }

        $this->previousFilter = $this->filter;
        $this->installFilter('!');

        return $this;
    }
563400
public function putInTube(
        $tube,
        $data,
        $priority = null,
        $delay = null,
        $ttr = null
    )
    {
        $this->useTube($tube);
        $priority = $priority ?? PheanstalkInterface::DEFAULT_PRIORITY;
        $delay = $delay ?? PheanstalkInterface::DEFAULT_DELAY;
        $ttr = $ttr ?? PheanstalkInterface::DEFAULT_TTR;

        return $this->put($data, $priority, $delay, $ttr);
    }
248927
public function forget($uris): self
    {
        $uris = is_array($uris) ? $uris : func_get_args();

        collect($uris)->each(function ($uri) {
            $request = Request::create($uri);
            $hash = $this->hasher->getHashFor($request);

            if ($this->cache->has($hash)) {
                $this->cache->forget($hash);
            }
        });

        return $this;
    }
20256
function ignore($methodName, $_ = null)
    {
        $ignoredMethods = func_get_args();
        foreach($ignoredMethods as $im)
            $this->_t_options__ignored[] = (string) $im;

        return $this;
    }