Skip to content

PHP Models using reserved keywords #59

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants