💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# 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](#) »