public function noty($type, $message, $key = "")
    {
        array_push(
            $this->notyMessages, [
            'key' => $key,
            'type' => $type,
            'message' => $message,
            ]
        );
        return;
    }
public function noty($type, $message, $key = "")
    {
        array_push(
            $this->notyMessages, [
            'key' => $key,
            'type' => $type,
            'message' => $message,
            ]
        );
        return;
    }
public function noty ( $ type , $ message , $ key = "" ) { array_push ( $ this -> notyMessages , [ 'key' => $ key , 'type' => $ type , 'message' => $ message , ] ) ; return ; }
Noty messages.
retrun nory messages array structure.

@param string $type
@param string $message
@param string $key
Noty messages . retrun nory messages array structure .