ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# Class Phalcon\\Events\\Event # Class **Phalcon\\Events\\Event** This class offers contextual information of a fired event in the EventsManager ### Methods public **setType** (*unknown* $type) Event type public **getType** () Event type public **getSource** () Event source public **setData** (*unknown* $data) Event data public **getData** () Event data public **getCancelable** () Is event cancelable? public **\_\_construct** (*string* $type, *object* $source, \[*mixed* $data\], \[*boolean* $cancelable\]) Phalcon\\Events\\Event constructor public **stop** () Stops the event preventing propagation public **isStopped** () Check whether the event is currently stopped | - [索引](# "总目录") - [下一页](# "Class Phalcon\Events\Exception") | - [上一页](# "Class Phalcon\Escaper\Exception") | - [API Indice](#) »