[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
elementor
/
vendor
/
elementor
/
wp-one-package
/
src
/
Common
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 BasicEnum.php
712 B
SET
[ EDIT ]
|
[ DEL ]
📄 RestError.php
3,225 B
SET
[ EDIT ]
|
[ DEL ]
📄 SupportedPlugins.php
447 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: BasicEnum.php
<?php namespace ElementorOne\Common; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /* * BasicEnum class */ abstract class BasicEnum { /** * Entries * @var array */ private static array $entries = []; /** * @throws \ReflectionException */ public static function get_values(): array { return array_values( self::get_entries() ); } /** * @throws \ReflectionException */ protected static function get_entries(): array { $caller = get_called_class(); if ( ! array_key_exists( $caller, self::$entries ) ) { $reflect = new \ReflectionClass( $caller ); self::$entries[ $caller ] = $reflect->getConstants(); } return self::$entries[ $caller ]; } }