Skip to content

Commit

Permalink
udpate for release
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul M. Jones committed Aug 25, 2021
1 parent 8df7c86 commit 8f5afdd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ In 1.x, the _AutoRoute_ options were configured with setters ...

```php
$autoRoute = new AutoRoute(
'App\Http',
dirname(__DIR__) . '/src/App/Http/'
'Project\Http',
dirname(__DIR__) . '/src/Project/Http/'
);

$autoRoute->setBaseUrl('/api');
Expand All @@ -26,8 +26,8 @@ $autoRoute->setWordSeparator('_');

```php
$autoRoute = new AutoRoute(
namespace: 'App\Http',
directory: dirname(__DIR__) . '/src/App/Http/',
namespace: 'Project\Http',
directory: dirname(__DIR__) . '/src/Project/Http/',
baseUrl: '/api',
ignoreParams: 1,
method: 'exec',
Expand Down

0 comments on commit 8f5afdd

Please sign in to comment.