Skip to content
This repository was archived by the owner on Jul 8, 2023. It is now read-only.

Commit ee9ea77

Browse files
committed
Renamed fixed base path resolver.
1 parent f6eb59b commit ee9ea77

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Eloquent/Pathogen/Resolver/BoundPathResolver.php renamed to src/Eloquent/Pathogen/Resolver/FixedBasePathResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
/**
1818
* A path resolver that wraps another path resolver with a fixed base path.
1919
*/
20-
class BoundPathResolver implements PathResolverInterface
20+
class FixedBasePathResolver implements PathResolverInterface
2121
{
2222
/**
23-
* Construct a new bound path resolver.
23+
* Construct a new fixed base path resolver.
2424
*
2525
* @param AbsolutePathInterface $basePath The base path.
2626
* @param BasePathResolverInterface|null $resolver The base path resolver to use.

test/suite/Eloquent/Pathogen/Resolver/BoundPathResolverTest.php renamed to test/suite/Eloquent/Pathogen/Resolver/FixedBasePathResolverTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Eloquent\Pathogen\Factory\PathFactory;
1515
use PHPUnit_Framework_TestCase;
1616

17-
class BoundPathResolverTest extends PHPUnit_Framework_TestCase
17+
class FixedBasePathResolverTest extends PHPUnit_Framework_TestCase
1818
{
1919
protected function setUp()
2020
{
@@ -24,7 +24,7 @@ protected function setUp()
2424

2525
$this->basePath = $this->factory->create('/foo/bar');
2626
$this->innerResolver = new BasePathResolver;
27-
$this->resolver = new BoundPathResolver($this->basePath, $this->innerResolver);
27+
$this->resolver = new FixedBasePathResolver($this->basePath, $this->innerResolver);
2828
}
2929

3030
public function testConstructor()
@@ -35,7 +35,7 @@ public function testConstructor()
3535

3636
public function testConstructorDefaults()
3737
{
38-
$this->resolver = new BoundPathResolver($this->basePath);
38+
$this->resolver = new FixedBasePathResolver($this->basePath);
3939

4040
$this->assertInstanceOf(__NAMESPACE__ . '\BasePathResolver', $this->resolver->resolver());
4141
}

0 commit comments

Comments
 (0)