/var/www/html_it/wp-content/plugins/elementor/modules/components/components.php


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

namespace Elementor\Modules\Components;

use 
Elementor\Core\Utils\Collection;

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

class 
Components {
    private 
Collection $components;

    public static function 
make( array $components = [] ) {
        return new static( 
$components );
    }

    private function 
__construct( array $components = [] ) {
        
$this->components Collection::make$components );
    }

    public function 
get_components() {
        return 
$this->components;
    }
}