Ouzo\Db\QueryBoundValuesExtractor::_addBindArrayValue PHP Method

_addBindArrayValue() private method

private _addBindArrayValue ( array $array )
$array array
    private function _addBindArrayValue(array $array)
    {
        foreach ($array as $value) {
            if ($value instanceof Restriction) {
                $this->_boundValues = array_merge($this->_boundValues, $value->getValues());
            } else {
                $this->_boundValues[] = $value;
            }
        }
    }