public function accept($value, $mode = 1)
    {
        $this->items = array_filter($this->items, function ($item) use ($value, $mode) {
            return $item === $value;
        }, $mode);

        return $this;
    }