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

ios - Change Storyboard View using Seague -

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -