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

        return $this;
    }