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

Adds class names filter #237

Closed
wants to merge 2 commits into from
Closed

Conversation

tshabatyn
Copy link

For instance, if you will add get parameter "filter=Zend,Composer" all the classes starting with Zend or Composer will be excluded from the output.

$request = $this->app->request();
$filterString = $request->get(self::FILTER_ARGUMENT_NAME);
if (strlen($filterString)) {
$filters = explode(',', $filterString);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should you also whitespace trim this?

@markstory
Copy link
Member

It would be good to have tests as well. Right now this feature could be easily lost in future refactorings.

@Mte90 Mte90 mentioned this pull request Apr 8, 2019
@glensc
Copy link
Contributor

glensc commented Jul 9, 2020

this is outdated, was merged in via #265

@glensc glensc closed this Jul 9, 2020
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

Successfully merging this pull request may close these issues.

4 participants