# Message

Chevere\Components\Message\Message

view source (opens new window)

# Implements

# Constants

# CLI_TABLE

Type array

array (
  'emphasis' => 
  array (
    'bold' => 3,
  ),
  'strong' => 
  array (
    'bold' => 1,
  ),
  'underline' => 
  array (
    'bold' => 4,
  ),
  'code' => 
  array (
    'bg' => 37,
    'fg' => 30,
  ),
)

# HTML_TABLE

Type array

array (
  'emphasis' => 'em',
  'underline' => 'u',
)

# Methods

# __construct

Parameters

  • template: string

# __toString

Return

string


# template

Return

string


# trTable

Return

array


# toConsole

Return

string


# toHtml

Return

string


# toString

Return

string


# strtr

Parameters

  • search: string
  • replace: string

# emphasis

Parameters

  • search: string
  • replace: string

# strong

Parameters

  • search: string
  • replace: string

# underline

Parameters

  • search: string
  • replace: string

# code

Parameters

  • search: string
  • replace: string

Last Updated: 5/1/2021, 2:31:10 PM