for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PeacefulBit\Slate\Parser\Nodes;
use PeacefulBit\Slate\Core\Frame;
abstract class Literal extends Node
{
/**
* @var mixed
*/
private $value;
* @param $value
public function __construct($value)
$this->value = $value;
}
* @return mixed
public function getValue()
return $this->value;
* @param Frame $frame
public function evaluate(Frame $frame)
return $this->getValue();