CakeDC\Users\Model\Entity\User::_setTos PHP Method

_setTos() protected method

protected _setTos ( string $tos ) : boolean
$tos string tos option. It will be set the tos_date
return boolean
    protected function _setTos($tos)
    {
        if ((bool) $tos === true) {
            $this->set('tos_date', Time::now());
        }
        return $tos;
    }