Example #1
0
 /** {@inheritdoc} */
 public function perform(Context $context)
 {
     return $context->override($this->overrideContext);
 }
Example #2
0
 /** {@inheritdoc} */
 public function evaluate(Context $context = null)
 {
     $string = new StringTemplate($this->value);
     $variables = $context ? $context->getIterator()->getArrayCopy() : array();
     return $string->render($variables);
 }