AIKEEDO / src /Plugin /Domain /PluginWrapper.php
Softin Trading
Initial Commit from GitHub.
cf14c12
Raw History Blame Contribute Delete
351 Bytes
<?php
declare(strict_types=1);
namespace Plugin\Domain;
/**
* Internal representation of the plugin instance
*/
class PluginWrapper
{
public readonly ?PluginInterface $plugin;
public function __construct(
public readonly Context $context,
?PluginInterface $plugin = null,
) {
$this->plugin = $plugin;
}
}