public function addInterface($name) { return $this->addClass($name)->setType(ClassType::TYPE_INTERFACE); }