Example #1
0
 /**
  * Set the type of a column.
  *
  * @param   mixed  $type
  * @return  $this
  */
 public function setType($type)
 {
     if (is_string($type)) {
         $type = Type::getType($type);
     }
     $this->column->setType($type);
     return $this;
 }