/** * Gathers the target class details * * @param EntityData $obj * @return EntityData */ private function getClassDetails(EntityData $obj) { $obj->setHasConstructor($this->hasConstructor($obj->getReflectionClass()))->addUseStatements($this->getClassUseStatements($obj->getFileData()->getFullFilePath()))->setExtends($this->getExtendsClass($obj->getReflectionClass()))->addImplements($this->getImplementsClasses($obj->getReflectionClass()))->addMethods($this->methodWorker->getClassMethods($obj->getReflectionClass()))->addProperties($this->propertyWorker->getClassProperties($obj->getReflectionClass())); return $obj; }