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

Improve code override #8

Open
makroxyz opened this issue Sep 15, 2017 · 0 comments
Open

Improve code override #8

makroxyz opened this issue Sep 15, 2017 · 0 comments

Comments

@makroxyz
Copy link

makroxyz commented Sep 15, 2017

Hi,
I need to change html for my growl.
I override protected method initOptions.

Problem:
$this->_settings is private so if I override initOptions I need to declare it in my class
I also need to redeclare protected function registerAssets() since it uses $this->_settings too

Why don't declare a protected method only for html generation?

Thanks in advance


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

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