StocksNew/vendor/php-flasher/flasher/Stamp/PresetStamp.php
Sampanna Rimal 53c0140f58 first commit
2024-08-27 17:48:06 +05:45

48 lines
840 B
PHP

<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Prime\Stamp;
final class PresetStamp implements StampInterface
{
/**
* @var string
*/
private $preset;
/**
* @var array<string, mixed>
*/
private $parameters;
/**
* @param string $preset
* @param array<string, mixed> $parameters
*/
public function __construct($preset, array $parameters = array())
{
$this->preset = $preset;
$this->parameters = $parameters;
}
/**
* @return string
*/
public function getPreset()
{
return $this->preset;
}
/**
* @return array<string, mixed>
*/
public function getParameters()
{
return $this->parameters;
}
}