public function performEdit(EditorBuffer $buffer)
 {
     $this->newCode = new IndentingLineCollection();
     $this->newCode->addIndentation();
     $this->addMethodOpening();
     $this->addMethodBody();
     $this->addReturnStatement();
     $this->addMethodClosing();
     $buffer->append($this->lineNumber, $this->getNewCodeAsStringArray());
 }
 public function performEdit(EditorBuffer $buffer)
 {
     $buffer->append($this->line, array('    private $' . $this->propertyName . ';', ''));
 }