From df34b6ddb53a7a83a81320f7d1697a02f4f71254 Mon Sep 17 00:00:00 2001 From: Stepan Anchugov Date: Tue, 16 Dec 2014 15:00:28 +0500 Subject: [PATCH] Fix doc link to Enumeration Markdown syntax was incorrect. --- doc/getting-started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/getting-started.md b/doc/getting-started.md index 217552b7..77a7dd28 100644 --- a/doc/getting-started.md +++ b/doc/getting-started.md @@ -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. @@ -723,4 +723,4 @@ When the cardinality cannot be automatically extracted, it's value is set to `un Usage: - bin/schema extract-cardinalities \ No newline at end of file + bin/schema extract-cardinalities