public function visitProperty(PhpProperty $property) { $this->visitDocblock($property->getDocblock()); $this->writer->write($property->getVisibility() . ' ' . ($property->isStatic() ? 'static ' : '') . '$' . $property->getName()); if ($property->hasDefaultValue()) { $this->writer->write(' = ' . $this->getPhpExport($property->getDefaultValue())); } $this->writer->writeln(';'); }