PHP Classes

File: src/Support/TimeWardenAlias.php

Recommend this page to a friend!
  Classes of tomloprod   Time Warden   src/Support/TimeWardenAlias.php   Download  
File: src/Support/TimeWardenAlias.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Time Warden
Measure PHP execution time and invoke callbacks
Author: By
Last change:
Date: 7 months ago
Size: 376 bytes
 

Contents

Class file image Download
<?php

declare(strict_types=1);

use
Tomloprod\TimeWarden\Services\TimeWardenManager;

if (!
function_exists('timeWarden')) {
    function
timeWarden(): TimeWardenManager
   
{
        return
TimeWardenManager::instance();
    }
}

if (!
function_exists('timewarden')) {
    function
timewarden(): TimeWardenManager
   
{
        return
TimeWardenManager::instance();
    }
}