Tideways.php
public static function containsDeveloperTraceRequest()
    {
        if (isset($_SERVER['HTTP_X_TIDEWAYS_PROFILER']) && is_string($_SERVER['HTTP_X_TIDEWAYS_PROFILER'])) {
            return true;
        } else if (isset($_SERVER['TIDEWAYS_SESSION']) && is_string($_SERVER['TIDEWAYS_SESSION'])) {
            return true;
        } else if (isset($_COOKIE['TIDEWAYS_SESSION']) && is_string($_COOKIE['TIDEWAYS_SESSION'])) {
            return true;
        } else if (isset($_GET['_tideways']) && is_array($_GET['_tideways'])) {
            return true;
        }

        return false;
    }
public static function containsDeveloperTraceRequest()
    {
        if (isset($_SERVER['HTTP_X_TIDEWAYS_PROFILER']) && is_string($_SERVER['HTTP_X_TIDEWAYS_PROFILER'])) {
            return true;
        } else if (isset($_SERVER['TIDEWAYS_SESSION']) && is_string($_SERVER['TIDEWAYS_SESSION'])) {
            return true;
        } else if (isset($_COOKIE['TIDEWAYS_SESSION']) && is_string($_COOKIE['TIDEWAYS_SESSION'])) {
            return true;
        } else if (isset($_GET['_tideways']) && is_array($_GET['_tideways'])) {
            return true;
        }

        return false;
    }
public static function containsDeveloperTraceRequest ( ) { if ( isset ( $ _SERVER [ 'HTTP_X_TIDEWAYS_PROFILER' ] ) && is_string ( $ _SERVER [ 'HTTP_X_TIDEWAYS_PROFILER' ] ) ) { return true ; } else if ( isset ( $ _SERVER [ 'TIDEWAYS_SESSION' ] ) && is_string ( $ _SERVER [ 'TIDEWAYS_SESSION' ] ) ) { return true ; } else if ( isset ( $ _COOKIE [ 'TIDEWAYS_SESSION' ] ) && is_string ( $ _COOKIE [ 'TIDEWAYS_SESSION' ] ) ) { return true ; } else if ( isset ( $ _GET [ '_tideways' ] ) && is_array ( $ _GET [ '_tideways' ] ) ) { return true ; } return false ; }
Check if headers, cookie or environment variables for a developer trace
are present. This method does not validate if the passed information is
actually valid for the current API Key.

@return bool
Check if headers cookie or environment variables for a developer trace are present . This method does not validate if the passed information is actually valid for the current API Key .