yii\db\ColumnSchema::dbTypecast PHP 메소드

dbTypecast() 공개 메소드

If the value is null or an [[Expression]], it will not be converted.
public dbTypecast ( mixed $value ) : mixed
$value mixed input value
리턴 mixed converted value. This may also be an array containing the value as the first element and the PDO type as the second element.
    public function dbTypecast($value)
    {
        // the default implementation does the same as casting for PHP, but it should be possible
        // to override this with annotation of explicit PDO type.
        return $this->typecast($value);
    }