public function getRewritedParameters($parameter)
    {
        if (is_int($parameter)) {
            return array($parameter);
        }

        if (!isset($this->parameters[$parameter])) {
            throw StatementRewriterException::parameterDoesNotExist($parameter);
        }

        return $this->parameters[$parameter];
    }
public function getRewritedParameters($parameter)
    {
        if (is_int($parameter)) {
            return array($parameter);
        }

        if (!isset($this->parameters[$parameter])) {
            throw StatementRewriterException::parameterDoesNotExist($parameter);
        }

        return $this->parameters[$parameter];
    }
public function getRewritedParameters ( $ parameter ) { if ( is_int ( $ parameter ) ) { return array ( $ parameter ) ; } if ( ! isset ( $ this -> parameters [ $ parameter ] ) ) { throw StatementRewriterException :: parameterDoesNotExist ( $ parameter ) ; } return $ this -> parameters [ $ parameter ] ; }
Gets the rewrited positional statement parameters according to the named parameter.

The metod returns an array because a named parameter can be used multiple times in the statement.

@param string $parameter The named parameter.

@throws \Fridge\DBAL\Exception\StatementRewriterException If the parameter does not exist.

@return array The rewrited positional parameters.
Gets the rewrited positional statement parameters according to the named parameter .