open-orchestra/open-orchestra-model-interface

View on GitHub
ModelInterface/Event/NodeDeleteEvent.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php


namespace OpenOrchestra\ModelInterface\Event;

use Symfony\Component\EventDispatcher\Event;

/**
 * Class NodeDeleteEvent
 */
class NodeDeleteEvent extends Event
{
    protected $nodeId;
    protected $siteId;

    /**
     * @param string $nodeId
     * @param string $siteId
     */
    public function __construct($nodeId, $siteId)
    {
        $this->nodeId = $nodeId;
        $this->siteId = $siteId;
    }

    /**
     * @return string
     */
    public function getNodeId()
    {
        return $this->nodeId;
    }

    /**
     * @return string
     */
    public function getSiteId()
    {
        return $this->siteId;
    }
}