Skip to content

Commit

Permalink
Fix name of file inside the comments for BookFactory
Browse files Browse the repository at this point in the history
harikt authored Oct 14, 2023
1 parent 5c0f0cc commit 154a3d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/resource_factories.md
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit 154a3d7

Please sign in to comment.