final public static function checkUidieExist(string $uidie):bool
    {
        AbstractServer::checkFileLogExist(FEnv::get("framework.logs.dev.file"));
        AbstractServer::checkFileLogExist(FEnv::get("framework.logs.prod.file"));
        $fdev = new FileListener();
        $fprod = new FileListener();
        $logs_dev = $fdev->openFileAsArray(FEnv::get("framework.logs.dev.file"));
        $logs_prod = $fprod->openFileAsArray(FEnv::get("framework.logs.prod.file"));

        foreach ($logs_dev as $one) {
            if ($one['uidie'] == $uidie) {
                $fdev->close();
                return (true);
            }
        }

        foreach ($logs_prod as $one) {
            if ($one['uidie'] == $uidie) {
                $fprod->close();
                return (true);
            }
        }
        $fdev->close();
        $fprod->close();
        return (false);
    }
final public static function checkUidieExist(string $uidie):bool
    {
        AbstractServer::checkFileLogExist(FEnv::get("framework.logs.dev.file"));
        AbstractServer::checkFileLogExist(FEnv::get("framework.logs.prod.file"));
        $fdev = new FileListener();
        $fprod = new FileListener();
        $logs_dev = $fdev->openFileAsArray(FEnv::get("framework.logs.dev.file"));
        $logs_prod = $fprod->openFileAsArray(FEnv::get("framework.logs.prod.file"));

        foreach ($logs_dev as $one) {
            if ($one['uidie'] == $uidie) {
                $fdev->close();
                return (true);
            }
        }

        foreach ($logs_prod as $one) {
            if ($one['uidie'] == $uidie) {
                $fprod->close();
                return (true);
            }
        }
        $fdev->close();
        $fprod->close();
        return (false);
    }
final public static function checkUidieExist ( string $ uidie ) : bool { AbstractServer :: checkFileLogExist ( FEnv :: get ( "framework.logs.dev.file" ) ) ; AbstractServer :: checkFileLogExist ( FEnv :: get ( "framework.logs.prod.file" ) ) ; $ fdev = new FileListener ( ) ; $ fprod = new FileListener ( ) ; $ logs_dev = $ fdev -> openFileAsArray ( FEnv :: get ( "framework.logs.dev.file" ) ) ; $ logs_prod = $ fprod -> openFileAsArray ( FEnv :: get ( "framework.logs.prod.file" ) ) ; foreach ( $ logs_dev as $ one ) { if ( $ one [ 'uidie' ] == $ uidie ) { $ fdev -> close ( ) ; return ( true ) ; } } foreach ( $ logs_prod as $ one ) { if ( $ one [ 'uidie' ] == $ uidie ) { $ fprod -> close ( ) ; return ( true ) ; } } $ fdev -> close ( ) ; $ fprod -> close ( ) ; return ( false ) ; }
Check if UIDIE exist in logs files
@param string $uidie The unique identifier of iumio Exeception
@return bool If exists or not
@throws Server500
@throws \Exception
Check if UIDIE exist in logs files