addMessage() public static method

Add a custom message to debugbar
public static addMessage ( $message, string $label = 'INFO' )
$message
$label string
 public function updateAction()
 {
     $title = $this->dispatcher->getParam("id");
     $post = Post::findFirst($this->dispatcher->getParam("id"));
     $data = $this->request->getQuery();
     if (!$post) {
         #Si no exite el Post
     }
     \PhalconDebug::addMessage($data, 'Info');
 }