public function add($key, $message)
    {
        if (! isset($this->errors[$key])) $this->errors[$key] = [];
        $this->errors[$key][] = $message;
    }
public function add($key, $message)
    {
        if (! isset($this->errors[$key])) $this->errors[$key] = [];
        $this->errors[$key][] = $message;
    }
public function add ( $ key , $ message ) { if ( ! isset ( $ this -> errors [ $ key ] ) ) $ this -> errors [ $ key ] = [ ] ; $ this -> errors [ $ key ] [ ] = $ message ; }
add error message

@param   string  $key
@param   string  $message
add error message