![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /var/www/theprintave/wp-content/plugins/elementor/modules/global-classes/ |
<?php namespace Elementor\Modules\GlobalClasses; use Elementor\Core\Utils\Collection; class Global_Classes implements \JsonSerializable { private Collection $items; private Collection $order; public static function make( array $items = [], array $order = [] ) { return new static( $items, $order ); } private function __construct( array $data = [], array $order = [] ) { $this->items = Collection::make( $data ); $this->order = Collection::make( $order ); } public function get_items() { return $this->items; } public function get_order() { return $this->order; } public function get() { return [ 'items' => $this->get_items()->all(), 'order' => $this->get_order()->all(), ]; } public function jsonSerialize() { $this->get(); } }