📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-26 11:31:08
📂
/
/
home
/
pallabnv
/
public_html
/
wp-content__3bb9dea
/
plugins
/
elementor
/
modules
/
atomic-widgets
/
utils
✏️
Editing: memo.php
<?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 ]; }; } }
💾 Save Changes
❌ Cancel