ROOTPLOIT
Server: LiteSpeed
System: Linux server71.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: niphet (1079)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: /home/niphet/public_html/wp-content/plugins/deepseek/src/Options.php
<?php

namespace AiBuddy;

final class Options {
	private array $options;

	public function __construct( array $options ) {
		$this->options = $options;
	}

	public function get( $name, $default = null ) {
		return Arr::get( $this->options, $name, $default );
	}

	public function to_array(): array {
		return $this->options;
	}

	public function __get( $name ) {
		return $this->get( $name );
	}

	public function __set( $name, $value ) {
		$this->options[ $name ] = $value;
	}

	public function __isset( $name ) {
		return isset( $this->options[ $name ] );
	}
}