<?php

namespace Planaday\Utility;

use Planaday\Utility\DependencyInjection\Attributes\Singleton;

#[Singleton]
class PluginData {
	/**
	 * @param string $fullPrefix
	 * @param string $shortPrefix
	 * @param string[] $pluginVersion
	 * @param string $pluginFile
	 */
	public function __construct(
		protected string $fullPrefix,
		protected string $shortPrefix,
		protected array $pluginVersion,
		protected string $pluginFile
	) {}

	public function getFullPrefix(): string {
		return $this->fullPrefix;
	}

	public function getShortPrefix(): string {
		return $this->shortPrefix;
	}

	/**
	 * @return string[]
	 */
	public function getPluginVersion(): array {
		return $this->pluginVersion;
	}

	public function getPluginFile(): string {
		return $this->pluginFile;
	}
}