src/MacroProcessor.php
private function checkIfReplaceIncludeMacro(string $replace) : bool
    {
        $keyword_list = self::findMacroKeywords($replace);
        foreach($keyword_list as $keyword){
            $replace = $this->callHandlers($keyword, EnumMacroProcessStorategy::STRATEGY_FISRT);
            if ($replace !== null){
                return true;
            }
        }
        return false;
    }
private function checkIfReplaceIncludeMacro(string $replace) : bool
    {
        $keyword_list = self::findMacroKeywords($replace);
        foreach($keyword_list as $keyword){
            $replace = $this->callHandlers($keyword, EnumMacroProcessStorategy::STRATEGY_FISRT);
            if ($replace !== null){
                return true;
            }
        }
        return false;
    }
private function checkIfReplaceIncludeMacro ( string $ replace ) : bool { $ keyword_list = self :: findMacroKeywords ( $ replace ) ; foreach ( $ keyword_list as $ keyword ) { $ replace = $ this -> callHandlers ( $ keyword , EnumMacroProcessStorategy :: STRATEGY_FISRT ) ; if ( $ replace !== null ) { return true ; } } return false ; }
Check if replace string has macro

@param string $replace

@return bool
Check if replace string has macro