public function createPublisher($mode, $dsn = null, $options = array())
    {
        return $this->createSocket(ZMQ::SOCKET_PUB, $mode, $dsn, $options);
    }
public function createPublisher($mode, $dsn = null, $options = array())
    {
        return $this->createSocket(ZMQ::SOCKET_PUB, $mode, $dsn, $options);
    }
public function createPublisher ( $ mode , $ dsn = null , $ options = array ( ) ) { return $ this -> createSocket ( ZMQ :: SOCKET_PUB , $ mode , $ dsn , $ options ) ; }
Creates a publiser socket.

@param string       $mode
@param string|array $dsn
@param array        $options

@return Socket
Creates a publiser socket .