src/Phossa/Query/Clause/BeforeAfterTrait.php
protected function dealWithParam(
        /*# string */ $clause,
        array $values
    )/*# : string */ {
        array_shift($values);
        array_shift($values);

        // replacement
        $pat = $rep = [];
        foreach ($values as $val) {
            $pat[] = '/\?/';
            $rep[] = $this->getBuilder()->generatePlaceholder($val);
        }

        return preg_replace($pat, $rep, $clause, 1);
    }
protected function dealWithParam(
        /*# string */ $clause,
        array $values
    )/*# : string */ {
        array_shift($values);
        array_shift($values);

        // replacement
        $pat = $rep = [];
        foreach ($values as $val) {
            $pat[] = '/\?/';
            $rep[] = $this->getBuilder()->generatePlaceholder($val);
        }

        return preg_replace($pat, $rep, $clause, 1);
    }
Dealing with positioned parameters

@param  string $clause
@return string
@access protected