SILENT KILLERPanel

Current Path: > home > codekrsu > > cuddlebuds.lk > wp-content > plugins > image-optimization > classes >


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//cuddlebuds.lk/wp-content/plugins/image-optimization/classes/

NameTypeSizeLast ModifiedActions
async-operation Directory - -
client Directory - -
exceptions Directory - -
file-system Directory - -
image Directory - -
migration Directory - -
rest Directory - -
basic-enum.php File 699 bytes February 06 2024 19:05:42.
error_log File 250 bytes June 22 2025 18:29:39.
file-utils.php File 2592 bytes February 06 2024 19:05:42.
locale.php File 577 bytes February 06 2024 19:05:42.
logger.php File 877 bytes February 06 2024 19:05:42.
module-base.php File 7270 bytes March 05 2024 17:32:40.
route.php File 11330 bytes February 06 2024 19:05:42.
utils.php File 3207 bytes October 01 2024 15:04:24.

Reading File: /home/codekrsu//cuddlebuds.lk/wp-content/plugins/image-optimization/classes//basic-enum.php

<?php

namespace ImageOptimization\Classes;

use ReflectionClass;
use ReflectionException;

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

abstract class Basic_Enum {
	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 ];
	}
}

SILENT KILLER Tool