Lines n/a 0 / 0
Functions and Methods n/a 0 / 0
Classes and Traits n/a 0 / 0
Name Lines Functions and Methods CRAP Classes and Traits
1<?php
2
3declare(strict_types=1);
4
5namespace Stewart\Runtime\Ipc;
6
7use Stewart\Runtime\Exception\TransportException;
8
9interface Transport
10{
11    /** @throws TransportException */
12    public function send(object $message): void;
13
14    /** @throws TransportException */
15    public function receive(): ?object;
16
17    public function close(): void;
18}