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

Allow for Custom Collector methods #21

Open
xy2z opened this issue Aug 2, 2023 · 0 comments
Open

Allow for Custom Collector methods #21

xy2z opened this issue Aug 2, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@xy2z
Copy link
Owner

xy2z commented Aug 2, 2023

Eg. a magic method __call() - try to call the custom class/method with $this->data as argument.

Or set the CustomCollector class via the core config, so it points to eg. CustomCollector::class, which should be extended of Capro's Collector class.

It should still return $this, well maybe not necessarily, as it could also be like a sum() method, so probably let it be mixed.

@xy2z xy2z added the enhancement New feature or request label Aug 2, 2023
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

1 participant