Ejemplo n.º 1
0
 public function copy(Domain $domain)
 {
     $this->defaultValue = $domain->getDefaultValue();
     $this->description = $domain->getDescription();
     $this->name = $domain->getName();
     $this->scale = $domain->getScale();
     $this->size = $domain->getSize();
     $this->sqlType = $domain->getSqlType();
     $this->propelType = $domain->getType();
 }
Ejemplo n.º 2
0
 /**
  * Returns the size of the column
  *
  * @return string
  */
 public function getSize()
 {
     return $this->domain ? $this->domain->getSize() : false;
 }