We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metadata values are not transferred to PSR-7 attributes. The other way round is also missing, from PSR-7 to Laminas.
$request = new \Laminas\Http\Request('GET', '/metadata-to-attributes', [], [], [], [], [], []); $request->setMetadata('metadata-key', 'metadata-value'); $psr7Request = \Laminas\Psr7Bridge\Psr7ServerRequest::fromLaminas($request); if ($psr7Request->getAttribute('metadata-key') === 'metadata-value') { echo 'transformation complete'; } else { echo 'transformation incomplete'; }
I would assume that the metadata from laminas request object are transferred to the PSR-7 request.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Report
Summary
Metadata values are not transferred to PSR-7 attributes. The other way round is also missing, from PSR-7 to Laminas.
How to reproduce
Expected behavior
I would assume that the metadata from laminas request object are transferred to the PSR-7 request.
The text was updated successfully, but these errors were encountered: