| Total Complexity | 6 |
| Total Lines | 53 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class Client extends AbstractSocket |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Connects to socket server |
||
| 22 | * |
||
| 23 | * @return boolean |
||
| 24 | */ |
||
| 25 | public function connect() |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Reads a message from server |
||
| 39 | * |
||
| 40 | * @return string|boolean |
||
| 41 | */ |
||
| 42 | public function read() |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * Sends a message to server socket |
||
| 56 | * |
||
| 57 | * @param string $message |
||
| 58 | * |
||
| 59 | * @return integer|boolean |
||
| 60 | */ |
||
| 61 | public function send($message) |
||
| 73 |