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

Rename a schema.org type #20

Closed
Matthieu-Lescieux opened this issue Oct 11, 2015 · 1 comment
Closed

Rename a schema.org type #20

Matthieu-Lescieux opened this issue Oct 11, 2015 · 1 comment

Comments

@Matthieu-Lescieux
Copy link

Hi,
I'm using the type http://schema.org/Class on my project but "class" is a reserved keyword in PHP. How can I rename my type "Class" ?

Thanks

@dunglas
Copy link
Member

dunglas commented Oct 12, 2015

Hi,

You should rename the generated class but keep the @Iri annotation as is.

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

3 participants