public function searchIn(array $items = [])
    {
        if (\is_null($slug = $this->slug)) {
            return \array_search($this->value, $items);
        }

        return \array_search($slug, $items);
    }