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 new FilesetsTrait and move all protected filesets helper methods to it #4202

Merged
merged 2 commits into from
Jul 8, 2020
Merged

Introduce new FilesetsTrait and move all protected filesets helper methods to it #4202

merged 2 commits into from
Jul 8, 2020

Conversation

hctom
Copy link
Contributor

@hctom hctom commented Jul 1, 2020

Fixes #4198

Changes proposed

  • Introduces and implements new Acquia\Blt\Robo\Filesets\FilesetsTrait containing all protected helper methods previously contained in Acquia\Blt\Robo\Filesets\Filesets class, so users may reuse these when creating custom filesets

Additional details

The following protected methods from Acquia\Blt\Robo\Filesets\Filesets class are moved to the new trait:

  • getPhpFilesetFinder()
  • getFrontendFilesetFinder()
  • getYamlFilesetFinder()
  • getTwigFilesetFinder()

@danepowell danepowell merged commit 0955557 into acquia:12.x Jul 8, 2020
@danepowell danepowell added the Enhancement A feature or feature request label Jul 8, 2020
@hctom hctom deleted the 12.x-issue-4198 branch July 8, 2020 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement A feature or feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve developer experience for custom filesets by providing trait for predefined Finder objects
2 participants