toBinary() public method

Get the full binary representation of the userParameters containing the TSPropertyArray data.
public toBinary ( ) : string
return string
 function it_should_support_being_constructed_with_a_binary_value()
 {
     $tsPropArray = new TSPropertyArray();
     $tsPropArray->set('CtxWFProfilePath', 'foo');
     $bin = $tsPropArray->toBinary();
     $this->beConstructedWith($bin);
     $this->get('CtxWFProfilePath')->shouldEqual('foo');
 }