ToString() 공개 정적인 메소드

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