/var/www/html/wp-content/plugins/elementor/core/utils/isolation-manager.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

namespace Elementor\Core\Utils;

use 
Elementor\Plugin;

if ( ! 
defined'ABSPATH' ) ) {
    exit; 
// Exit if accessed directly.
}

abstract class 
Isolation_Manager {
    
/**
     * @param string $adapter_name
     */
    
public static function get_adapterstring $adapter_name ) {
        try {
            return 
Plugin::$instance->elementor_container()
                ->
get$adapter_name );
        } catch ( 
Exception $e ) {
            return 
null;
        }
    }
}