protected
getDictionaryKey(mixed $attribute): mixed
Get a dictionary key attribute - casting it to a string if necessary.
InvalidArgumentException