| 1 | <?php |
||
| 19 | class InternalSessionMonitor extends Client |
||
|
|
|||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Constructor. |
||
| 23 | */ |
||
| 24 | public function __construct() |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param \Thruway\ClientSession $session |
||
| 31 | * @param \Thruway\Transport\TransportInterface $transport |
||
| 32 | */ |
||
| 33 | public function onSessionStart($session, $transport) |
||
| 62 | |||
| 63 | public function onMessage(Thruway\Transport\TransportInterface $transport, Thruway\Message\Message $msg) |
||
| 69 | } |
||
| 70 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.