Hi, how do I get the `$maxAge, $maxCount and
$cacheControl parameters to work in the metadata field for PHP code? These parameters on this form works fine for me: **$requestBody = array(array("eventId" => guid(), "eventType" => "event-type", "data" => 'Request method: ' . $_SERVER['REQUEST_METHOD'] , "metadata" => "test",));** But when I add this to the metadata field like this: **"metadata" =>** array(array(“maxAge” => 100 , “maxCount” => 2 , “cacheControl” => 2,))
the whole metadata field disappears in the event in Event Store.
It does not seem to work either. Because I can write more then two events to specific eventstream and the eventstream doesn´t appear after 100 seconds.
How should I write this line to get the parameters to work for the metadata field?