Skip to content

Commit

Permalink
Merge pull request #3 from kix/patch-1
Browse files Browse the repository at this point in the history
Fix doc link to Enumeration
  • Loading branch information
dunglas committed Dec 16, 2014
2 parents e86e0e8 + df34b6d commit 8ee9f87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ Note that the generator take care of creating directories corresponding to the n
Without configuration file, the tool will build the entire Schema.org vocabulary. If no properties are specified for a given
type, all its properties will be generated.

The generator also support enumerations generation. For subclasses of `[Enumeration](https://schema.org/Enumeration)`, the
The generator also support enumerations generation. For subclasses of [`Enumeration`](https://schema.org/Enumeration), the
generator will automatically create a class extending the Enum type provided by [myclabs/php-enum](https://github.com/myclabs/php-enum).
Don't forget to install this library in your project. Refer you to PHP Enum documentation to see how to use it. The Symfony
validation annotation generator automatically takes care of enumerations to validate choices values.
Expand Down Expand Up @@ -723,4 +723,4 @@ When the cardinality cannot be automatically extracted, it's value is set to `un

Usage:

bin/schema extract-cardinalities
bin/schema extract-cardinalities

0 comments on commit 8ee9f87

Please sign in to comment.