コード例 #1
0
ファイル: ServerTest.php プロジェクト: paulgessinger/jsonrpc
 /**
  * @covers \PG\JsonRpc\Server::run
  */
 public function testRun()
 {
     $this->setExpectedException('PG\\JsonRpc\\Exception\\InvalidRequest');
     $this->server = new Server();
     $this->server->run();
 }
コード例 #2
0
ファイル: index.dist.php プロジェクト: paulgessinger/jsonrpc
<?php

use PG\JsonRpc\Server;
include __DIR__ . '/vendor/autoload.php';
$server = new Server();
$server->run();