From bc28fb03be8914f30e79dab023a21101cdd57766 Mon Sep 17 00:00:00 2001 From: Crapo Date: Fri, 27 Sep 2019 23:00:23 +0200 Subject: [PATCH] collection method is no more forbidden --- src/Generator.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Generator.php b/src/Generator.php index 74793a1..75dcd6c 100644 --- a/src/Generator.php +++ b/src/Generator.php @@ -22,8 +22,7 @@ public function __construct() { parent::__construct(); - $this->setFactory('collection', null) - ->setFactory('ri-collection', RiCollectionFactory::class) + $this->setFactory('ri-collection', RiCollectionFactory::class) ->setFactory('ro-collection', RoCollectionFactory::class) ->setFactory('relationship', RelationshipFactory::class) ->setFactory('resource-identifier', ResourceIdentifierFactory::class)