public function createParameter($value, $type = null)
    {
        if ($this->mode === self::MODE_POSITIONAL) {
            return $this->createPositionalParameter($value, $type);
        }

        return $this->createNamedParameter($value, $type);
    }