Skip to content

Commit 198a678

Browse files
committed
feat: Add JsonRpc
1 parent dafc51b commit 198a678

23 files changed

Lines changed: 3786 additions & 1 deletion

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"symfony/routing": "~6.0|~7.0",
3434
"phpunit/phpunit": "~9.5",
3535
"php-di/php-di": "~7.1",
36-
"symfony/framework-bundle": "~6.0|~7.0"
36+
"symfony/framework-bundle": "~6.0|~7.0",
37+
"guzzlehttp/guzzle": "~5.3|~7.0"
3738
}
3839
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
3+
namespace Bdf\JsonRpc\Exception;
4+
5+
/**
6+
*
7+
*/
8+
class InvalidArgumentException extends \InvalidArgumentException implements JsonRpcException
9+
{
10+
11+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
namespace Bdf\JsonRpc\Exception;
4+
5+
/**
6+
*
7+
*/
8+
interface JsonRpcException
9+
{
10+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
3+
namespace Bdf\JsonRpc\Exception;
4+
5+
/**
6+
*
7+
*/
8+
class RuntimeException extends \RuntimeException implements JsonRpcException
9+
{
10+
11+
}

0 commit comments

Comments
 (0)