Is your feature request related to a problem? Please describe.
Get the current value of a tags property. Eg, I wanted to get the current title that was set, as a string. But I had to do something like Meta::getTitle()->toArray()['content'] to get the string value.
Describe the solution you'd like
Can we leverage PHP's magic methods on the base Tag to get the value of a tag's attribute as a property? Like Meta::getTitle()->content (I know title is a special implementation, so maybe not the best example though)
Is your feature request related to a problem? Please describe. Get the current value of a tags property. Eg, I wanted to get the current title that was set, as a string. But I had to do something like
Meta::getTitle()->toArray()['content']
to get the string value.Describe the solution you'd like Can we leverage PHP's magic methods on the base Tag to get the value of a tag's attribute as a property? Like
Meta::getTitle()->content
(I know title is a special implementation, so maybe not the best example though)Describe alternatives you've considered See above