yiicod/yii2-socketio

View on GitHub
SocketIoAsset.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace yiicod\socketio;

use yii\web\AssetBundle;

/**
 * Access Message asset bundle.
 *
 * @author Dmitry Turchanin
 */
class SocketIoAsset extends AssetBundle
{
    /**
     * @var string
     */
    public $sourcePath = '@vendor/yiicod/yii2-socketio/server/node_modules/socket.io-client/dist';

    /**
     * @var array
     */
    public $js = ['socket.io.js'];
}