public function daily(bool $set = null)
    {
        if ($set) {
            return $this->setFrequency(AlarmInterface::DAILY);
        }
        return $this->getFrequency() === AlarmInterface::DAILY;
    }
public function daily(bool $set = null)
    {
        if ($set) {
            return $this->setFrequency(AlarmInterface::DAILY);
        }
        return $this->getFrequency() === AlarmInterface::DAILY;
    }
public function daily ( bool $ set = null ) { if ( $ set ) { return $ this -> setFrequency ( AlarmInterface :: DAILY ) ; } return $ this -> getFrequency ( ) === AlarmInterface :: DAILY ; }
Check or set whether this alarm runs every day or not.

@param bool $set Set this alarm to be active every day

@return bool|AlarmInterface Returns true/false when checking, or AlarmInterface when setting
Check or set whether this alarm runs every day or not .