Pili\Hub::createStream PHP Method

createStream() public method

public createStream ( $title = NULL, $publishKey = NULL, $publishSecurity = NULL )
    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);
    }