createStream() public static method

public static createStream ( $transport, $hubName, $title = NULL, $publishKey = NULL, $publishSecurity = NULL )
Example #1
0
 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);
 }