\WebinoDraw\VarTranslator\OperationOnVar

Class OnVar

Summary

Methods
Properties
Constants
setPlugin()
apply()
No public properties found
No constants found
invokePlugins()
$plugins
N/A
fixTypes()
No private properties found
N/A

Properties

$plugins

$plugins : array

Type

array

Methods

apply()

apply(\WebinoDraw\VarTranslator\Translation  $varTranslation, array  $spec, callable  $callback) : $this

Parameters

\WebinoDraw\VarTranslator\Translation $varTranslation
array $spec
callable $callback

Throws

\WebinoDraw\Exception\InvalidInstructionException

Returns

$this

invokePlugins()

invokePlugins(\WebinoDraw\VarTranslator\Translation  $varTranslation, array  $spec, callable  $callback) : $this

Parameters

\WebinoDraw\VarTranslator\Translation $varTranslation
array $spec
callable $callback

Returns

$this

fixTypes()

fixTypes(mixed  $valA, mixed  $valB) : $this

Fix value types for equation

Parameters

mixed $valA
mixed $valB

Returns

$this