1 | <?php |
||
9 | class Topic extends BaseTopic |
||
10 | { |
||
11 | /** |
||
12 | * @var array |
||
13 | */ |
||
14 | protected $arguments; |
||
15 | |||
16 | /** |
||
17 | * @var ArrayTransformerInterface |
||
18 | */ |
||
19 | protected $normalizer; |
||
20 | |||
21 | /** |
||
22 | * @param string $topicPath |
||
23 | * @param array $arguments |
||
24 | */ |
||
25 | public function __construct($topicPath, array $arguments = array()) |
||
31 | |||
32 | /** |
||
33 | * @param ArrayTransformerInterface $normalizer |
||
34 | * |
||
35 | * @return self |
||
36 | */ |
||
37 | public function setNormalizer(ArrayTransformerInterface $normalizer) |
||
43 | |||
44 | /** |
||
45 | * {@InheritDoc} |
||
46 | * |
||
47 | * And normalize message using the serializer before send. |
||
48 | */ |
||
49 | public function broadcast($msg, array $exclude = array(), array $eligible = array()) |
||
53 | |||
54 | /** |
||
55 | * @param WampConnection $conn |
||
56 | * @param string $topic |
||
57 | */ |
||
58 | public function onSubscribe(WampConnection $conn, $topic) |
||
62 | |||
63 | /** |
||
64 | * @param WampConnection $conn |
||
65 | * @param string $topic |
||
66 | * @param string $event |
||
67 | */ |
||
68 | public function onPublish(WampConnection $conn, $topic, $event) |
||
72 | |||
73 | /** |
||
74 | * @param WampConnection $conn |
||
75 | * @param string $topic |
||
76 | */ |
||
77 | public function onUnSubscribe(WampConnection $conn, $topic) |
||
81 | } |
||
82 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.