Example #1
0
 /**
  * Call a placeholder method with the Call object and parameters extracted from the raw template call.
  */
 public function call(Call $call)
 {
     $callable = [$this->placeholder, $this->method->getShortName()];
     $params = array_merge([$call], $call->getParameters());
     call_user_func_array($callable, $params);
 }