set - PHP Chaining setter magic method -


hi in php application use class $class->var1->var2 = 'value', , inside class have array should contain following

    array     (       [var1] => array         (             [var2] => value         )      ) 

can achieved chaining __set method ?


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -