protected $position;
/**
* The Enlight_Event_Handler class constructor expects an event name. If no name is given,
* the constructor throws an Enlight_Event_Exception.
*
* @throws Enlight_Event_Exception
*/
public function __construct($event) { if ($event === null
) { throw new Enlight_Event_Exception('Parameter event cannot be empty.'
);
} $this->name =
$event;
} /**
* Getter method for the name property. Contains the event name.
*
* @return string
*/
public function getName() {