<?php
/**
 *
 * @date 2022-3-22
 * @author JZW
 **/


namespace Tool\LoadTemplate\Logic;


use Game\Constant\TemplateDefine;
use Tool\LoadTemplate\Config;
use Tool\LoadTemplate\ILogic;

class DeepmodLogic extends ILogic
{
    public function dealKey($key, $val, &$title): bool
    {
        $title[$key] = $val;
        return true;
    }

    public function dealRow(&$row): bool
    {
        return true;
    }

    public function dealFile(&$file): bool
    {
        return true;
    }

    public function getTidyList(): array
    {
        return array(
            Config::TIDY_DEFINE[TemplateDefine::TYPE_DEEPMOD]
        );
    }
}