Instead of storing entire $config array as internal property, configuration parameters are better to be split via particular fields. Especially, while there is only one configuration parameter - 'js_namespace'.
This refactoring creates more clean code and allows easy creation of standalone SharedData instance if necessary.
Instead of storing entire
$config
array as internal property, configuration parameters are better to be split via particular fields. Especially, while there is only one configuration parameter - 'js_namespace'.This refactoring creates more clean code and allows easy creation of standalone
SharedData
instance if necessary.Attention: this is BC break change!