Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nilportugues committed Nov 23, 2015
1 parent a756711 commit 9177b36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ While I discourage having 2 styles for mapping it is well possible to have them

```php
use NilPortugues\Api\Mapping\Mapper;
use NilPortugues\AcmeProject\Infrastructure\Mappings\Api\PostApiMapping;
use NilPortugues\AcmeProject\Infrastructure\Api\Mappings\PostApiMapping;

$arrayConfig = include 'mappings.php';
$classConfig = [
Expand Down Expand Up @@ -84,7 +84,7 @@ As expected you may implement many interfaces to support multiple API formats.
```php
<?php

namespace NilPortugues\AcmeProject\Infrastructure\Mappings\Api;
namespace NilPortugues\AcmeProject\Infrastructure\Api\Mappings;

use NilPortugues\AcmeProject\Blog\Domain\Post;
use NilPortugues\Api\Mappings\HalMapping;
Expand Down

0 comments on commit 9177b36

Please sign in to comment.