Skip to content

Commit

Permalink
minor #747 Fix name of file inside the comments for BookFactory (harikt)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.11 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | fixes parts of documentation.
| License         | MIT


Commits
-------

154a3d7 Fix name of file inside the comments for BookFactory
  • Loading branch information
lchrusciel authored Oct 16, 2023
2 parents 5c0f0cc + 154a3d7 commit 3449806
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
Expand Up @@ -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);

Expand Down Expand Up @@ -54,7 +54,7 @@ services:
## Use your custom method
```php
// src/Factory/BookRepository.php
// src/Factory/BookFactory.php

declare(strict_types=1);

Expand Down Expand Up @@ -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);

Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 3449806

Please sign in to comment.