“Invalid Service Definition” when using DI->Get Phalcon PHP

前端 未结 3 1979
暗喜
暗喜 2021-01-24 15:43

This question is related to Appending multiple config arrays in PhalconPHP

I am trying to get retrieve an object from the DI using the get method.

The object is

3条回答
  •  暖寄归人
    2021-01-24 16:41

    It looks like you're doing $di->set('config', $new_array); instead of $di->set('config', $config); :)

提交回复
热议问题