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

(feat) Add P class with static methods #9

Closed
wants to merge 4 commits into from
Closed

(feat) Add P class with static methods #9

wants to merge 4 commits into from

Conversation

lucasmichot
Copy link
Contributor

This pull-request add a P class, that can be imported to call any function.
It is aligned with laravel/framework where all the string and array helpers functions were migrated to dedicated Arr and Str classes with static methods.

That change also allows to greatly limit the number of imports in a console command class, where https://github.com/laravel/prompts feature would be used.

Note:
The playground and tests files have also been updated to reflect this change.

@taylorotwell
Copy link
Member

Not sure I love this idea.

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.

2 participants