/**
  * @param LexicalVariableNode $variable
  */
 public function prependLexicalVariable(LexicalVariableNode $variable)
 {
     $this->createLexicalVariables();
     $this->lexicalVariables->prependItem($variable);
 }
Beispiel #2
0
 /**
  * @param ParameterNode $parameter
  * @return $this
  */
 public function prependParameter(ParameterNode $parameter)
 {
     $this->parameters->prependItem($parameter);
     return $this;
 }