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

Feature/Reflection extractors #1

Merged
merged 3 commits into from
Aug 8, 2022

Conversation

juampi92
Copy link
Owner

No description provided.

juampi92 and others added 2 commits July 28, 2022 15:10
@juampi92 juampi92 self-assigned this Jul 29, 2022
composer.json Outdated Show resolved Hide resolved
Copy link
Collaborator

@ahmedmeheinastudocu ahmedmeheinastudocu left a comment

Choose a reason for hiding this comment

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

Neat implemantation 👏 🚀

Copy link
Collaborator

@sunchayn sunchayn left a comment

Choose a reason for hiding this comment

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

Noice 🔥

tests/Extractors/ReflectionMethodExtractorTest.php Outdated Show resolved Hide resolved
use ReflectionClass;
use ReflectionException;

class ReflectionClassExtractor implements Extractor
Copy link
Collaborator

Choose a reason for hiding this comment

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

what do you think about having a different concept, that we could call Transformers. Because what it does is transform a provided class into its Reflection counterpart. It does not extract anything yet 🤔

Copy link
Owner Author

Choose a reason for hiding this comment

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

I was also annoyed at the "extractor" method. I'll message you tomorrow about it, but I was thinking to simply call it pipe, and then people are free to do whatever 😅

@juampi92 juampi92 merged commit d018835 into juampi92:main Aug 8, 2022
@juampi92 juampi92 deleted the feature/reflection-extractors branch August 8, 2022 09:50
juampi92 added a commit that referenced this pull request Aug 8, 2022
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.

3 participants