It would be good if these settings will be cached. It works well with var_export. But it cannot be recovered because driver configs don't have __set_state methods.
I have a suggestion to add default method __set_state to \Cycle\Database\Config\DriverConfig and override in another configs when it's required. I can create pull request if this idea will be accepted.
I have an idea!
There is some config:
It would be good if these settings will be cached. It works well with
var_export
. But it cannot be recovered because driver configs don't have__set_state
methods.I have a suggestion to add default method
__set_state
to\Cycle\Database\Config\DriverConfig
and override in another configs when it's required. I can create pull request if this idea will be accepted.