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

Update Router.php #160

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update Router.php #160

wants to merge 1 commit into from

Conversation

svanlaere
Copy link

Aliasing global functions

Aliasing global functions
@uvulpos
Copy link
Collaborator

uvulpos commented Aug 11, 2021

Why should this be implemented? Any special use or something? 🤔

@bramus
Copy link
Owner

bramus commented Aug 11, 2021

@svanlaere
Copy link
Author

bramus is right, though I do believe its should be like this to become a fully qualified name?
use function Bramus\Router\array_keys;

Its also convenient for developers that appreciate a quick overview of used functions.

@uvulpos
Copy link
Collaborator

uvulpos commented Aug 11, 2021

Mh. I actually never thought about this, but it makes perfectly sense. Thanks 👍

LGTM this PR

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