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

        return $this;
    }