From 154a3d7647fcc0a885e4228e2ab79782eb0ebf8e Mon Sep 17 00:00:00 2001 From: Hari K T Date: Sat, 14 Oct 2023 17:29:24 +0530 Subject: [PATCH] Fix name of file inside the comments for BookFactory --- docs/resource_factories.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/resource_factories.md b/docs/resource_factories.md index 88e1bcb59..714796097 100644 --- a/docs/resource_factories.md +++ b/docs/resource_factories.md @@ -21,7 +21,7 @@ It has a `createNew` method with no arguments. ## Define your custom factory ```php -// src/Factory/BookRepository.php +// src/Factory/BookFactory.php declare(strict_types=1); @@ -54,7 +54,7 @@ services: ## Use your custom method ```php -// src/Factory/BookRepository.php +// src/Factory/BookFactory.php declare(strict_types=1); @@ -123,7 +123,7 @@ You can pass arguments to your factory method. It uses the [Symfony expression language](https://symfony.com/doc/current/components/expression_language.html) component. ```php -// src/Factory/BookRepository.php +// src/Factory/BookFactory.php declare(strict_types=1); @@ -213,7 +213,7 @@ class Book implements ResourceInterface ## Use a callable for your custom factory ```php -// src/Factory/BookRepository.php +// src/Factory/BookFactory.php declare(strict_types=1);