getDocComment()); $this->description = $description; if ($modifiers = $property->getModifiers()) { $this->modifiers = ''.implode(' ', Reflection::getModifierNames($modifiers)).' '; } if (isset($tags['var'])) { if (preg_match('/^(\S*)(?:\s*(.+?))?$/s', $tags['var'][0], $matches)) { $this->type = $matches[1]; if (isset($matches[2])) { $this->description = Kodoc_Markdown::markdown($matches[2]); } } } $this->property = $property; // Show the value of static properties if ($property->isStatic()) { // Force the property to be accessible $property->setAccessible(TRUE); // Don't debug the entire object, just say what kind of object it is if (is_object($property->getValue($class))) { $this->value = '
object '.get_class($property->getValue($class)).'()'; } else { $this->value = Debug::vars($property->getValue($class)); } } // Store the defult property $this->default = Debug::vars($default); } } // End Kodoc_Property