MapTag

This class should be used for tags with value, that should be represented as associative array.

class Foo
{
    /**
     * @options color=green,type = grass,location = "Earth"
     */
    public $value;
}
$doc = (new ReflectionProperty('Foo', 'value'))->getDocComment();
$customTags = [new MapTag('options')];

$notations = getNotations($doc, $customTags);
var_export($notations);

Result:

[
    'options' => [
        'color' => 'green',
        'type' => 'grass',
        'location' => 'Earth'
    ]
]