Skip to content

Commit

Permalink
Merge pull request #1608 from Geriler/patch-1
Browse files Browse the repository at this point in the history
Fixed typo
  • Loading branch information
dpfaffenbauer authored Apr 23, 2021
2 parents ffc58a8 + 4de4797 commit 8a89697
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/03_Development/12_Customers/01_CRUD.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dynamic and configurable. It uses a Factory and Repository Pattern to do that.
If you want to create a new Custom, we need to get our Factory Service for that:

```php
$customerFactory = $container->get('coreshop.factory.custom');
$customerFactory = $container->get('coreshop.factory.customer');
$customer = $customerFactory->createNew();
```

Expand Down Expand Up @@ -65,4 +65,4 @@ $repository = $container->get('coreshop.repository.customer');
// Query by ID
$customerWithIdOne = $repository->findById(1);
$customerWithIdOne->delete();
```
```

0 comments on commit 8a89697

Please sign in to comment.