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

Add AbstractProvider #319

Merged
merged 4 commits into from
Aug 17, 2024
Merged

Add AbstractProvider #319

merged 4 commits into from
Aug 17, 2024

Conversation

Chemaclass
Copy link
Member

🔖 Changes

  • Deprecate AbstractDependencyProvider in favor of AbstractProvider

@Chemaclass Chemaclass added the enhancement New feature or request label Aug 17, 2024
@Chemaclass Chemaclass self-assigned this Aug 17, 2024
@Chemaclass Chemaclass enabled auto-merge August 17, 2024 14:51
@Chemaclass Chemaclass merged commit e37cca8 into main Aug 17, 2024
13 checks passed
@Chemaclass Chemaclass deleted the feat/use-provider branch August 17, 2024 15:00
public static function __callStatic(string $name = '', array $arguments = [])
{
if ($name === 'getFactory') {
return self::doGetFactory();
Copy link
Member

Choose a reason for hiding this comment

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

Should we call the parent call and staticCall in case they exists? Does it make sense?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't understand your question. For some context, check the tests here: tests/Feature/Framework/StaticFacade/FeatureTest.php

Screenshot 2024-08-17 at 17 10 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

3 participants