Ejemplo n.º 1
0
 /**
  * @param string $database
  * @param string $table
  * @param string $column
  * @param string $type
  * @param array  $options
  */
 public function __construct($database, $table, $column, $type = 'string', array $options = [])
 {
     parent::__construct($database, $table);
     $this->name = $column;
     $this->type = $type;
     $this->options = $options;
 }
Ejemplo n.º 2
0
 /**
  * @param string $database
  * @param string $table
  * @param string $newName
  */
 public function __construct($database, $table, $newName)
 {
     parent::__construct($database, $table);
     $this->newName = $newName;
 }
Ejemplo n.º 3
0
 /**
  * @param string $database
  * @param string $table
  * @param array  $columns
  */
 public function __construct($database, $table, array $columns)
 {
     parent::__construct($database, $table);
     $this->columns = $columns;
 }