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