企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# Class Phalcon\\Validation\\Message # Class **Phalcon\\Validation\\Message** *implements*[*Phalcon\\Validation\\MessageInterface*](#) Encapsulates validation info generated in the validation process ### Methods public **\_\_construct** (*string* $message, \[*string* $field\], \[*string* $type\]) Phalcon\\Validation\\Message constructor public **setType** (*unknown* $type) Sets message type public **getType** () Returns message type public **setMessage** (*unknown* $message) Sets verbose message public **getMessage** () Returns verbose message public **setField** (*unknown* $field) Sets field name related to message public *string***getField** () Returns field name related to message public **\_\_toString** () Magic \_\_toString method returns verbose message public static **\_\_set\_state** (*unknown* $message) Magic \_\_set\_state helps to recover messsages from serialization | - [索引](# "总目录") - [下一页](# "Class Phalcon\Validation\Message\Group") | - [上一页](# "Class Phalcon\Validation\Exception") | - [API Indice](#) »