Documentation

PhpEvaluator
in package

Executes inline PHP code during the rendering process

Table of Contents

$_canvas  : Canvas
__construct()  : mixed
PhpEvaluator constructor.
evaluate()  : mixed
render()  : mixed

Properties

Methods

__construct()

PhpEvaluator constructor.

public __construct(Canvas $canvas) : mixed
Parameters
$canvas : Canvas
Return values
mixed

evaluate()

public evaluate( $code[, array<string|int, mixed> $vars = [] ]) : mixed
Parameters
$code :
$vars : array<string|int, mixed> = []
Return values
mixed

Search results