PHP Classes

File: src/Support/MemoizeAlias.php

Recommend this page to a friend!
  Classes of tomloprod   Memoize   src/Support/MemoizeAlias.php   Download  
File: src/Support/MemoizeAlias.php
Role: Auxiliary script
Content typex: text/plain
Description: Configuration script
Class: Memoize
Store and retrieve cache values in arrays
Author: By
Last change: Update of src/Support/MemoizeAlias.php
Date: 1 month ago
Size: 213 bytes
 

Contents

Class file image Download
<?php

declare(strict_types=1);

use
Tomloprod\Memoize\Services\MemoizeManager;

if (!
function_exists('memoize')) {
    function
memoize(): MemoizeManager
   
{
        return
MemoizeManager::instance();
    }
}