X::dump($opt->getDefault());
// (int) 0
$opt->setDefault(5);
X::dump($opt->getDefault());
// (int) 5
$opt->setDefault();
X::dump($opt->getDefault());
// (int) 0
function()
{
if ($this->check()) {
return $this->default;
}
return null;
}