From 3973aa6597b16934ba1bc00becf6f6ae92254da5 Mon Sep 17 00:00:00 2001 From: Priyadi Iman Nurcahyo <1102197+priyadi@users.noreply.github.com> Date: Thu, 5 Oct 2023 10:03:20 +0700 Subject: [PATCH] add motivation --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 5b14219..626bb5d 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,13 @@ Lets you easily create decorator classes to dynamically modify the behaviors of Doctrine Collection objects, including the collection objects used by Doctrine ORM in your entities. +## Motivation + +Custom collection classes won't come to Doctrine ORM anytime soon. Therefore, +the only way to modify the behavior of a Doctrine collection is to use +decorators. However, creating a Collection decorator by hand is a tedious +process. + ## Synopsis The decorator class extending one of our abstract classes: