You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mvorisek
changed the title
Prioritize setter methods in DIContainerTrait::setDefaults()
Allow/prioritize setter methods in DIContainerTrait::setDefaults()
May 16, 2020
this is a logical idea, but usually i setDefaults and validate if all required dependency is in place correctly in constructor, and then when object is add to his owner i continue what i have to do during init, because only there i have the $app.
core/src/DIContainerTrait.php
Line 50 in 503ed2f
proposal to call setXX() if exists instead of setting the XX property directly
The text was updated successfully, but these errors were encountered: