protected function _setTos($tos) { if ((bool) $tos === true) { $this->set('tos_date', Time::now()); } return $tos; }