This seems like a bug or documentation is wrong. Documentation says headers should be an associative array.
// Get request headers as associative array
$headers = $app->request->headers;
However actual return value is instance of Slim\Http\Headers class which implements ArrayAccess. For me this is not the same thing.
Refer to codeguy/Slim/issues/888.
This seems like a bug or documentation is wrong. Documentation says headers should be an associative array.
However actual return value is instance of Slim\Http\Headers class which implements ArrayAccess. For me this is not the same thing.
Refer to codeguy/Slim/issues/888.