Class ErrorImage
Generates an error image to die with.
Methods summary
public
|
#
__construct( )
Initializes an error image.
Initializes an error image.
|
public
|
#
generate( string $headingText, string $errorText )
Generates and dies with an image containing the heading and the text of the error.
Generates and dies with an image containing the heading and the text of the error.
Parameters
- $headingText
- The heading of the error.
- $errorText
- The text of the error.
|