public function createStream($title = NULL, $publishKey = NULL, $publishSecurity = NULL) { $stream = Api::createStream($this->_transport, $this->_hub, $title, $publishKey, $publishSecurity); return new Stream($this->_transport, $stream); }