%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/ugotscom/kma/vendor/cboden/ratchet/tests/helpers/Ratchet/Mock/
Upload File :
Create Path :
Current File : /home/ugotscom/kma/vendor/cboden/ratchet/tests/helpers/Ratchet/Mock/Connection.php

<?php
namespace Ratchet\Mock;
use Ratchet\ConnectionInterface;

class Connection implements ConnectionInterface {
    public $last = array(
        'send'  => ''
      , 'close' => false
    );

    public $remoteAddress = '127.0.0.1';

    public function send($data) {
        $this->last[__FUNCTION__] = $data;
    }

    public function close() {
        $this->last[__FUNCTION__] = true;
    }
}

Zerion Mini Shell 1.0