Files
Roman Pyrih 7483681901 first commit
2026-04-21 15:48:41 +02:00

26 lines
494 B
PHP

<?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;
}
}