original_string: protected function bootstrapAlert($content, $dismissible, $class) {
  
          $span   = static::coreHTMLElement("span", "&times;", ["aria-hidden" => "true"]);
          $button = static::coreHTMLElement("button", $span, ["class" => "close", "type" => "button", "data-dismiss" => "alert", "aria-label" => "Close"]);
  
          $attributes = [];
  
          $attributes["class"]   = ["alert", $class];
          $attributes["class"][] = true === $dismissible ? "alert-dismissible" : null;
          $attributes["role"]    = ["alert"];
  
          $innerHTML = (true === $dismissible ? $button : "") . (null !== $content ? $content : "");
  
          return static::coreHTMLElement("div", $innerHTML, $attributes);
      }
code: protected function bootstrapAlert($content, $dismissible, $class) {
  
          $span   = static::coreHTMLElement("span", "&times;", ["aria-hidden" => "true"]);
          $button = static::coreHTMLElement("button", $span, ["class" => "close", "type" => "button", "data-dismiss" => "alert", "aria-label" => "Close"]);
  
          $attributes = [];
  
          $attributes["class"]   = ["alert", $class];
          $attributes["class"][] = true === $dismissible ? "alert-dismissible" : null;
          $attributes["role"]    = ["alert"];
  
          $innerHTML = (true === $dismissible ? $button : "") . (null !== $content ? $content : "");
  
          return static::coreHTMLElement("div", $innerHTML, $attributes);
      }
code_tokens: protected function bootstrapAlert ( $ content , $ dismissible , $ class ) { $ span = static :: coreHTMLElement ( "span" , "&times;" , [ "aria-hidden" => "true" ] ) ; $ button = static :: coreHTMLElement ( "button" , $ span , [ "class" => "close" , "type" => "button" , "data-dismiss" => "alert" , "aria-label" => "Close" ] ) ; $ attributes = [ ] ; $ attributes [ "class" ] = [ "alert" , $ class ] ; $ attributes [ "class" ] [ ] = true === $ dismissible ? "alert-dismissible" : null ; $ attributes [ "role" ] = [ "alert" ] ; $ innerHTML = ( true === $ dismissible ? $ button : "" ) . ( null !== $ content ? $ content : "" ) ; return static :: coreHTMLElement ( "div" , $ innerHTML , $ attributes ) ; }
docstring: Displays a Bootstrap alert.
  
  @param string $content The content.
  @param bool $dismissible Dismissible ?
  @param string $class The class.
  @return string Returns the Bootstrap alert.
docstring_tokens: Displays a Bootstrap alert .