for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Linio\Component\RuleEngine\Ast;
class GetVariableExpressionNode extends Node
{
protected string $key;
public function __construct(string $key)
$this->key = $key;
}
public function evaluate()
return $this->getContext()->get($this->key);