public function __construct($eventData = null)
{
if (!$this->isNull($eventData)) {
if (!$this->isArray($eventData) && !$this->isArrayObject($eventData)) {
throw new EventManagerException(EventManagerException::MSG_INVALID_ARG, ['$eventData', 'array|ArrayObject']);
}
$this->eventData = $this->arr($eventData);
} else {
$this->eventData = $this->arr();
}
}