Zend\Text\Figlet\Figlet::render
Render a FIGlet text
Signature
public function render(string
$text,
[string
$encoding = 'UTF-8'] )
Parameters
$text
— string- Text to convert to a figlet text
$encoding
— string- Encoding of the input string
Returns
- string
Errors/Exceptions
-
InvalidArgumentException
- When $text is not a string
-
UnexpectedValueException
- When $text it not properly encoded