public defaultValue ( mixed $default ) | ||
$default | mixed | the default value. |
public function defaultValue($default)
{
if ($default === null) {
$this->null();
}
$this->default = $default;
return $this;
}