yiicod/yii2-socketio

View on GitHub
events/EventSubInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace yiicod\socketio\events;

/**
 * Interface EventSubInterface
 * Event subscriber interface
 *
 * @package yiicod\socketio\events
 */
interface EventSubInterface
{
    /**
     * Handle published event data
     *
     * @param array $data
     *
     * @return mixed
     */
    public function handle(array $data);
}