Skip to content

Commit

Permalink
Rm GraphQL Server Service definition
Browse files Browse the repository at this point in the history
  • Loading branch information
codeliner committed Apr 16, 2018
1 parent 363e5e9 commit 0b0148f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/Service/ServiceFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
use Prooph\EventMachine\Container\EventMachineContainer;
use Prooph\EventMachine\Container\ServiceRegistry;
use Prooph\EventMachine\EventMachine;
use Prooph\EventMachine\GraphQL\Server;
use Prooph\EventMachine\Http\MessageBox;
use Prooph\EventMachine\Messaging\Message;
use Prooph\EventMachine\Persistence\DocumentStore;
Expand Down Expand Up @@ -76,13 +75,6 @@ public function eventMachineHttpMessageSchema(): MessageSchemaMiddleware
});
}

public function graphQlServer(): Server
{
return $this->makeSingleton(Server::class, function () {
return $this->eventMachine()->graphqlServer();
});
}

public function pdoConnection(): \PDO
{
return $this->makeSingleton(\PDO::class, function () {
Expand Down

0 comments on commit 0b0148f

Please sign in to comment.