public function contains($value)
    {
        if (\is_array($value)) {
            /** @noinspection ForeachSourceInspection */
            foreach ($value as $item) {
                $this->contains($item);
            }
        } else {
            $this->predicates[] = '*' . $this->processValue($value) . '*';
        }

        return $this;
    }