Download src/Plugin/Domain/PluginWrapper.php from pnacorp/AIKEEDO: direct link, hf CLI and curl.
- Browser
- Download file 351 Bytes
-
https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Plugin/Domain/PluginWrapper.php
- Command line
-
hf download hf://pnacorp/AIKEEDO/src/Plugin/Domain/PluginWrapper.php
-
curl -L -o PluginWrapper.php https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Plugin/Domain/PluginWrapper.php
351 Bytes
| 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; | |
| } | |
| } | |