1 | <?php |
||
19 | class InternalSessionMonitor extends Client |
||
|
|||
20 | { |
||
21 | |||
22 | /** |
||
23 | * Constructor |
||
24 | */ |
||
25 | public function __construct() |
||
29 | |||
30 | /** |
||
31 | * @param \Thruway\ClientSession $session |
||
32 | * @param \Thruway\Transport\TransportInterface $transport |
||
33 | */ |
||
34 | public function onSessionStart($session, $transport) |
||
66 | |||
67 | |||
68 | public function onMessage(Thruway\Transport\TransportInterface $transport, Thruway\Message\Message $msg) |
||
74 | |||
75 | } |
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.