| 12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- namespace ModulesGarden\ProxmoxAddon\App\Events\Vps;
- use MGProvision\Proxmox\v2\interfaces\VmInterface;
- use ModulesGarden\ProxmoxAddon\Core\Events\Event;
- class VmCreatedEvent extends Event
- {
- protected $vm;
- public function __construct(VmInterface $vm)
- {
- $this->vm = $vm;
- }
- /**
- * @return VmInterface
- */
- public function getVm()
- {
- return $this->vm;
- }
- /**
- * @param VmInterface $vm
- */
- public function setVm($vm)
- {
- $this->vm = $vm;
- }
- }
|