<?php
namespace Elementor\Modules\AtomicWidgets\Utils;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class Memo {
private array $cache = [];
public function memoize( string $key, callable $callback ) {
return function() use ( $key, $callback ) {
if ( array_key_exists( $key, $this->cache ) ) {
return $this->cache[ $key ];
}
$this->cache[ $key ] = call_user_func( $callback );
return $this->cache[ $key ];
};
}
}
| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| image/ | 2026-11-25 08:10 | 1.96 KB | 76129f60960:kunden | dxwrx-rx-r | |
| atomic-prop-remap-handlers.php | 2026-11-25 08:10 | 6.75 KB | 76129f60960:kunden | -xw-x--x-- | |
| atomic-prop-remap-registry.php | 2026-11-25 08:10 | 638 B | 76129f60960:kunden | -xw-x--x-- | |
| atomic-prop-remap.php | 2026-11-25 08:10 | 6.15 KB | 76129f60960:kunden | -xw-x--x-- | |
| custom-attributes-trust.php | 2026-11-25 08:10 | 1.73 KB | 76129f60960:kunden | -xw-x--x-- | |
| element-position.php | 2026-11-25 08:10 | 1.93 KB | 76129f60960:kunden | -xw-x--x-- | |
| element-structure-title.php | 2026-11-25 08:10 | 1.32 KB | 76129f60960:kunden | -xw-x--x-- | |
| format-element-ids.php | 2026-11-25 08:10 | 1.57 KB | 76129f60960:kunden | -xw-x--x-- | |
| memo.php | 2026-11-25 08:10 | 466 B | 76129f60960:kunden | -xw-x--x-- | |
| utils.php | 2026-11-25 08:10 | 1.52 KB | 76129f60960:kunden | -xw-x--x-- | |