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

Introduce find method in loader registry #28

Closed
alexstandiford opened this issue Jun 19, 2021 · 1 comment
Closed

Introduce find method in loader registry #28

alexstandiford opened this issue Jun 19, 2021 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@alexstandiford
Copy link
Collaborator

The loader registry has a method, filter that makes it possible to filter the results of a registry easily. It would be nice if there was also a find method that would simply return the first registry item that matches a search result.

@alexstandiford
Copy link
Collaborator Author

Resolved in #30

alexstandiford added a commit that referenced this issue Jun 22, 2021
* Fixes incorrect references to "WP_error" #1 (#29)

* Introduces find method in Loader Registry. #28 (#30)

Resolves #28

* Issue/31 - Introduce middleware API (#33)

* Moves has_trait method in Underpin class. #31

This helper method is something that can be used outside of this system. With the trend of adding methods to Underpin as static methods, it makes sense to move this method, as well.

* Introduces Middleware API. #31

* Updates Readme #31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant