From afb8b219fde3600460d99595625f561b617dcd9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20L=C3=B8vgaard?= Date: Tue, 2 Oct 2018 14:59:15 +0200 Subject: [PATCH] updated readme --- README.md | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 62 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 545bcab..2474848 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,68 @@ This command requires you to have Composer installed globally, as explained in t ### Step 2: Enable the bundle -Will be enabled by default when you use Symfony Flex. +If you use Symfony Flex it will be enabled automatically. Else you need to add it to the `bundles.php`. + +```php + ['all' => true], + // ... +]; +``` + +# Step 3: Add to form type +```php +add('task') + ->add('schedule', CronExpressionType::class) + ->add('save', SubmitType::class) + ; + } +} +``` + +# Step 4: Add to entity +```php +