Skip to content

Commit

Permalink
[request] add request get http query parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
makasim committed Dec 25, 2013
1 parent 41c1acd commit 50da95e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Request/GetHttpQueryRequest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php
namespace Payum\Core\Request;

class GetHttpQueryRequest extends \ArrayObject
{
}
15 changes: 15 additions & 0 deletions Tests/Request/GetHttpQueryRequestTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php
namespace Payum\Core\Tests\Request;

class GetHttpQueryRequestTest extends \PHPUnit_Framework_TestCase
{
/**
* @test
*/
public function shouldBeSubClassArrayObject()
{
$rc = new \ReflectionClass('Payum\Core\Request\GetHttpQueryRequest');

$this->assertTrue($rc->isSubclassOf('ArrayObject'));
}
}

0 comments on commit 50da95e

Please sign in to comment.