ToString() public static method

Creates a String from the Value.
public static ToString ( Value $value ) : string
$value Value the value to convert
return string the string representation of the value
 /**
  * @covers Pql::ToString
  * @expectedException InvalidArgumentException
  */
 public function testToStringWithUnsupportedValueTypeThrowsException()
 {
     Pql::ToString(new MyValue());
 }
Esempio n. 2
0
 /**
  * @covers Pql::ToString
  * @expectedException InvalidArgumentException
  */
 public function testToStringWithTargetingValueTypeThrowsException()
 {
     Pql::ToString(new TargetingValue());
 }