public function __construct($name = null) { $this->setQualifiedName($name); $this->docblock = new Docblock(); $this->useStatements = new Map(); $this->requiredFiles = new Set(); $this->methods = new Map(); }
/** * Creates a new PHP class * * @param string $name the qualified name */ public function __construct($name = null) { parent::__construct($name); $this->initProperties(); $this->initConstants(); $this->initInterfaces(); }