53 $reflect = new \ReflectionClass ( $this->
class );
54 $yumlAnnot = OrmUtils::getAnnotationInfo ( $this->
class,
"#yuml" );
56 if ($yumlAnnot !==
false) {
57 if (isset ( $yumlAnnot [
"color"] )) {
58 $color =
"{bg:" . $yumlAnnot [
"color"] .
"}";
60 if (isset ( $yumlAnnot [
"note"] )) {
61 $this->note = $yumlAnnot [
"note"];
64 $parts = [ $reflect->getShortName () ];
66 if ($this->displayProperties) {
67 $prikeys = OrmUtils::getKeyMembers ( $this->
class );
68 $types = OrmUtils::getFieldTypes ( $this->
class );
69 $propertiesArray = [ ];
72 $this->
parseProperty ( $propertiesArray, $property, $prikeys, $types );
77 if ($this->displayMethods) {
79 $methods = $reflect->getMethods ();
80 foreach ( $methods as $method ) {
88 if (isset ( $this->note )) {
91 $this->parseResult = $result;
95 protected function parseProperty(&$propertiesArray, $property, $prikeys, $types) {
96 $propertyName = $property->getName ();
99 if ($this->displayPropertiesTypes) {
100 if (\array_key_exists ( $propertyName, $types )) {
104 if (\array_search ( $propertyName, $prikeys ) !==
false) {
112 if ($this->displayMethodsParams) {
115 $methodName = $method->getName ();
117 if ($method->hasReturnType ()) {