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 method for retrieving value set for a directive #53

Closed
bkosborne opened this issue Dec 2, 2020 · 1 comment
Closed

Add method for retrieving value set for a directive #53

bkosborne opened this issue Dec 2, 2020 · 1 comment

Comments

@bkosborne
Copy link

The CSP builder has no method for retrieving the value that's currently set for directives. There's only a method to set the value for a directive. I have a scenario where I initialized the CSP builder from a large config array, and now I need to apply some selective additions to it, but need to get the value for some directives first.

@bkosborne
Copy link
Author

Nevermind, I see now I can use the ->addSource method to do what I need

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant