PhpErrorCodeViewHelper extends AbstractViewHelper uses CompileWithRenderStatic

FinalYes

Transform PHP error code to readable text

Internal

Table of Contents

Properties

$levelNames  : array<string|int, mixed>

Methods

initializeArguments()  : void
renderStatic()  : string
Render a readable string for PHP error code.

Properties

$levelNames

protected static array<string|int, mixed> $levelNames = [E_ERROR => 'E_ERROR', E_WARNING => 'E_WARNING', E_PARSE => 'E_PARSE', E_NOTICE => 'E_NOTICE', E_CORE_ERROR => 'E_CORE_ERROR', E_CORE_WARNING => 'E_CORE_WARNING', E_COMPILE_ERROR => 'E_COMPILE_ERROR', E_COMPILE_WARNING => 'E_COMPILE_WARNING', E_USER_ERROR => 'E_USER_ERROR', E_USER_WARNING => 'E_USER_WARNING', E_USER_NOTICE => 'E_USER_NOTICE', E_STRICT => 'E_STRICT', E_RECOVERABLE_ERROR => 'E_RECOVERABLE_ERROR', E_DEPRECATED => 'E_DEPRECATED', E_USER_DEPRECATED => 'E_USER_DEPRECATED']

Methods

initializeArguments()

public initializeArguments() : void

renderStatic()

Render a readable string for PHP error code.

public static renderStatic(array<string|int, mixed> $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string
Parameters
$arguments : array<string|int, mixed>
$renderChildrenClosure : Closure
$renderingContext : RenderingContextInterface
Return values
string

        
On this page

Search results