예제 #1
0
파일: max.php 프로젝트: nerdsrescueme/Core
 public function __construct(Column $column, $constraint = null)
 {
     parent::__construct($column);
     if ($column->is(Column::TYPE_STRING)) {
         $this->_type = 'string';
     }
     $this->_constraint = (int) $constraint;
 }
예제 #2
0
파일: min.php 프로젝트: nerdsrescueme/Core
 public function __construct(Column $column, $constraint = null)
 {
     parent::__construct($column);
     $this->_constraint = (int) $constraint;
 }