/** * @throws WrongArgumentException * @return InetType **/ public function setDefault($default) { Assert::isTrue(long2ip(ip2long($default)) == $default, "strange default value given - '{$default}'"); return parent::setDefault($default); }
public function toColumnType() { return parent::toColumnType() . "->\n" . 'setUnsigned(true)'; }