for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of Symnedi.
* Copyright (c) 2014 Tomas Votruba (http://tomasvotruba.cz)
*/
namespace Symnedi\EventDispatcher\DI;
use Symnedi\EventDispatcher\Contract\DI\NetteEventItemInterface;
final class NetteEventItem implements NetteEventItemInterface
{
* @var string
private $class;
private $property;
private $eventClass;
private $eventName;
* @param string $class
* @param string $property
* @param string $eventClass
* @param string $eventName
public function __construct($class, $property, $eventClass, $eventName)
$this->class = $class;
$this->property = $property;
$this->eventClass = $eventClass;
$this->eventName = $eventName;
}
* {@inheritdoc}
public function getClass()
return $this->class;
public function getEventClass()
return $this->eventClass;
public function getEventName()
return $this->eventName;
public function getProperty()
return $this->property;