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

PHP Models using reserved keywords #59

Open
nathansalter opened this issue Jun 9, 2022 · 3 comments
Open

PHP Models using reserved keywords #59

nathansalter opened this issue Jun 9, 2022 · 3 comments

Comments

@nathansalter
Copy link

See openactive/models-php#102

My proposal here is to just append these keywords with a unique char/word. So instead of having public const Abstract ... we could have public const AbstractConst ...

@nathansalter
Copy link
Author

Related to this PR: openactive/models-php#111

@nickevansuk
Copy link
Contributor

Great idea - we already do something similar with 3D (ThreeD)

@nathansalter
Copy link
Author

List of keywords https://www.php.net/manual/en/reserved.php

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

No branches or pull requests

2 participants