Skip to content

Commit

Permalink
Rearrange resolver structure
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesChou committed Feb 21, 2018
1 parent 339c3be commit 0e06792
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?php

namespace Corp104\Rester\Api;
namespace Corp104\Rester\Resolvers;

use Corp104\Rester\Api\Endpoint;
use Corp104\Rester\Resolver;

/**
Expand Down
3 changes: 2 additions & 1 deletion src/Api/PathResolver.php → src/Resolvers/PathResolver.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?php

namespace Corp104\Rester\Api;
namespace Corp104\Rester\Resolvers;

use Corp104\Rester\Api\Path;
use Corp104\Rester\Resolver;

/**
Expand Down
4 changes: 2 additions & 2 deletions tests/Rester/MappingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

use Corp104\Rester\Api\ApiInterface;
use Corp104\Rester\Api\Endpoint;
use Corp104\Rester\Api\EndpointResolver;
use Corp104\Rester\Api\Path;
use Corp104\Rester\Api\PathResolver;
use Corp104\Rester\Exceptions\ApiNotFoundException;
use Corp104\Rester\Exceptions\InvalidArgumentException;
use Corp104\Rester\Mapping;
use Corp104\Rester\Resolvers\EndpointResolver;
use Corp104\Rester\Resolvers\PathResolver;
use Tests\TestCase;

class MappingTest extends TestCase
Expand Down

0 comments on commit 0e06792

Please sign in to comment.