src/Easy/Element/Element.php
public function getFunctionType($eventHandlerName)
    {
        $eventHandler = $this->eventHandlers->get($eventHandlerName);
        if (!$eventHandler) return null;
        return $eventHandler->functionType;
    }
public function getFunctionType($eventHandlerName)
    {
        $eventHandler = $this->eventHandlers->get($eventHandlerName);
        if (!$eventHandler) return null;
        return $eventHandler->functionType;
    }
Get function type

@param string $eventHandlerName event handler name
@return string function type in string format