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

Implement internalPathFor() #1552

Merged
merged 1 commit into from Oct 23, 2015
Merged

Implement internalPathFor() #1552

merged 1 commit into from Oct 23, 2015

Conversation

akrabat
Copy link
Member

@akrabat akrabat commented Oct 22, 2015

This method is mostly useful when using subRequest which does not
expect the base path.

Closes #1521

@silentworks
Copy link
Member

Would this not be relative and absolute pathFor, I am not sure about the current name as its a public method saying its internal, when its accessible externally.

@akrabat
Copy link
Member Author

akrabat commented Oct 23, 2015

Valid point.

I'm not especially keen on renaming pathFor though on the grounds that this is the one that everyone should be using 99% of the time. Happy to call the other one relativePathFor.

This method is mostly useful when using `subRequest` which does not
expect the base path.

Closes #1521
@akrabat
Copy link
Member Author

akrabat commented Oct 23, 2015

Renamed.

silentworks added a commit that referenced this pull request Oct 23, 2015
@silentworks silentworks merged commit dea4411 into slimphp:3.x Oct 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants