This repository was archived by the owner on Jul 8, 2023. It is now read-only.
File tree 2 files changed +5
-5
lines changed
src/Eloquent/Pathogen/Resolver
test/suite/Eloquent/Pathogen/Resolver 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 17
17
/**
18
18
* A path resolver that wraps another path resolver with a fixed base path.
19
19
*/
20
- class BoundPathResolver implements PathResolverInterface
20
+ class FixedBasePathResolver implements PathResolverInterface
21
21
{
22
22
/**
23
- * Construct a new bound path resolver.
23
+ * Construct a new fixed base path resolver.
24
24
*
25
25
* @param AbsolutePathInterface $basePath The base path.
26
26
* @param BasePathResolverInterface|null $resolver The base path resolver to use.
Original file line number Diff line number Diff line change 14
14
use Eloquent \Pathogen \Factory \PathFactory ;
15
15
use PHPUnit_Framework_TestCase ;
16
16
17
- class BoundPathResolverTest extends PHPUnit_Framework_TestCase
17
+ class FixedBasePathResolverTest extends PHPUnit_Framework_TestCase
18
18
{
19
19
protected function setUp ()
20
20
{
@@ -24,7 +24,7 @@ protected function setUp()
24
24
25
25
$ this ->basePath = $ this ->factory ->create ('/foo/bar ' );
26
26
$ this ->innerResolver = new BasePathResolver ;
27
- $ this ->resolver = new BoundPathResolver ($ this ->basePath , $ this ->innerResolver );
27
+ $ this ->resolver = new FixedBasePathResolver ($ this ->basePath , $ this ->innerResolver );
28
28
}
29
29
30
30
public function testConstructor ()
@@ -35,7 +35,7 @@ public function testConstructor()
35
35
36
36
public function testConstructorDefaults ()
37
37
{
38
- $ this ->resolver = new BoundPathResolver ($ this ->basePath );
38
+ $ this ->resolver = new FixedBasePathResolver ($ this ->basePath );
39
39
40
40
$ this ->assertInstanceOf (__NAMESPACE__ . '\BasePathResolver ' , $ this ->resolver ->resolver ());
41
41
}
You can’t perform that action at this time.
0 commit comments