Skip to content

Conversation

@lacatoire
Copy link
Contributor

This PR adds documentation for Locale::isRightToLeft(), which was introduced in PHP 8.5 but was not previously documented in the manual.

The new section describes the method behavior, its reliance on ICU for determining text direction, and provides a simple usage example.

Fixes #5013

Copy link
Member

@DanielEScherzer DanielEScherzer left a comment

Choose a reason for hiding this comment

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

Methods are generally documented in their own dedicated files, that are then linked in the synopsis below (see the line <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> and below it)

Its been a decade, but the last new Locale method documented seems to have been 53e4cea and you can see how that was documented - just create a new file

Looking through the commit log, it seems the most recent method addition documentation was 053ae3f so that can also be used for comparison - in addition to creating the new file, the versions information gets updated

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.

Locale::isRightToLeft has not been documented

2 participants