<?php

/**
 * 清理过期好友关系申请
 */

namespace Server\Model\Player;

use Framework\Log\LogMark;
use Game\Logic\Friend\FriendLogic;
use Server\Model\IServerBase;

class CheckExpireIntimacyApply implements IServerBase
{
    use FriendLogic;

    public function init(): bool
    {
        LogMark::getInstance()->markInfo("CheckExpireIntimacyApply init Success");
        return true;
    }

    public function close()
    {
        LogMark::getInstance()->markInfo("CheckExpireIntimacyApply close Success");
    }

    public function run($nowTime)
    {
        $this->dealExpireApply($nowTime);
    }
}
