Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kristi5 opened this issue Mar 4, 2019 · 0 comments
Open

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

kristi5 opened this issue Mar 4, 2019 · 0 comments

Comments

@kristi5
Copy link

kristi5 commented Mar 4, 2019

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?

@kristi5 kristi5 changed the title Public property starts uppercase not possible Public property with uppercase at the beginning ends with error Mar 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant