public function render($type = null, $content = true, array $options = array())
    {
        if (is_array($type)) {
            $options = $type;
            $type    = self::TYPE_INFO;
            $content = true;
        } elseif (is_array($content)) {
            $options = $content;
            $content = true;
        }

        if (true === $content) {
            return $this->start($type, $options);
        }

        $id    = isset($options['id']) ? ' id="' . $options['id'] . '"' : '';
        $class = isset($options['class']) ? ' ' . $options['class'] : '';
        if ((isset($options['dismissable']) && $options['dismissable'])
            || !isset($options['dismissable'])
        ) {
            $class .= ' alert-dismissable';
            $content = '<button type="button" class="close" data-dismiss="alert">&times;</button>'
                     . '<span class="notification-content">' . $content . '</span>';
        }

        $target = array_key_exists('target', $options)?' target="' . $options['target'] . '"':'';
        $markup = '<div ' . $id . ' class="alert alert-' . $type . $class . '" ' . $target . '>' . $content . '</div>' . PHP_EOL;
        return $markup;
    }