Skip to content
New issue

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

Add Helper Functions for ResourceMeta #13

Open
dpfaffenbauer opened this issue Oct 16, 2019 · 0 comments
Open

Add Helper Functions for ResourceMeta #13

dpfaffenbauer opened this issue Oct 16, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@dpfaffenbauer
Copy link
Contributor

Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no

things like

$resourceMetadata->withAttributes(['locale' => 'de']);

$resourceMetadata->withResourceId($id);

that just creates a clone of it, but with the changed attributes. Makes usage for normalizer a bit easier.

@solverat solverat added the enhancement New feature or request label Oct 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants