public function getName() { $name = $this->reflection->getName(); $inflector = new Inflector(); $name = $inflector->tableize($name); return $name; }
/** * @param IReflectionProperty $property * * @return string */ public function writeValue(IReflectionProperty $property) { $value = ''; if ($property->getDeclaringClass() && ($defaultProperties = $property->getDeclaringClass()->getDefaultProperties())) { if (!is_null($defaultProperties[$property->getName()])) { $value = ' = ' . $this->formatValue($defaultProperties[$property->getName()]); } } return $value; }
/** * {@inheritdoc} */ public function getName() { return $this->reflection->getName(); }