protected function getDateTimeClass(Column $column) { if (PropelTypes::isPhpObjectType($column->getPhpType())) { return $column->getPhpType(); } $dateTimeClass = $this->getBuildProperty('generator.dateTime.dateTimeClass'); if (!$dateTimeClass) { $dateTimeClass = '\\DateTime'; } return $dateTimeClass; }
/** * Returns whether or not the column PHP native type is an object. * * @return boolean * @see PropelTypes::isPhpObjectType() */ public function isPhpObjectType() { return PropelTypes::isPhpObjectType($this->getPhpType()); }