theorchard / monolog-cascade

Configure multiple loggers and handlers in the blink of an eye
MIT License
145 stars 62 forks source link

Public property with uppercase at the beginning ends with error #89

Open kristi5 opened 5 years ago

kristi5 commented 5 years ago

This is part of my yaml file.

...
handlers:
  phpmailer_handler:
    class: MonologPHPMailer\PHPMailerHandler
    mailer:
      class: PHPMailer\PHPMailer\PHPMailer
      exceptions: true
      SMTPAuth: true
      Username: 'user'
      Password: 'password'
      isHTML: true
      isSMTP:
...

Setting Username, Password, SMTPAuth properties in following YAML ends with error:

Fatal error: Uncaught Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException: The options "password", "sMTPAuth", "username" do not exist. Defined options are: "isHTML", "isSMTP". in .....

How can i set public properties or call methods starting with uppercase letter?