Skip to content

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