Ejemplo n.º 1
0
 public function apply(\blaze\ds\meta\ColumnMetaData $meta)
 {
     $this->name = $meta->getName();
     $this->className = $meta->getClassType();
     $this->comment = $meta->getComment();
     $this->default = $meta->getDefault();
     $this->length = $meta->getLength();
     $this->precision = $meta->getPrecision();
     $this->foreignKey = $meta->isForeignKey();
     $this->primaryKey = $meta->isPrimaryKey();
     $this->uniqueKey = $meta->isUniqueKey();
     $this->nullable = $meta->isNullable();
     $this->signed = $meta->isSigned();
 }