lithium\tests\mocks\net\http\MockSocket::config PHP 메소드

config() 공개 메소드

public config ( )
    public function config()
    {
        return $this->_config;
    }

Usage Example

예제 #1
0
 public function testInitialization()
 {
     $socket = new MockSocket();
     $socket->open(array('test' => true));
     $config = $socket->config();
     $this->assertTrue($config['test']);
 }