You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created a class that implements Dictionary, and I've set getKeys() and getValues() to return arrays with keys and values, but I'm not sure what I'm supposed to do with offsetGet().
The documentation for defining a custom dictionary is pretty light:
https://github.com/KnpLabs/DictionaryBundle#dictionary
I've created a class that implements Dictionary, and I've set getKeys() and getValues() to return arrays with keys and values, but I'm not sure what I'm supposed to do with offsetGet().
This works, but doesn't feel right:
Is there an example you can point me to? Thx.
The text was updated successfully, but these errors were encountered: