Symfony\Component\Form\PropertyPath::__toString PHP 메소드

__toString() 공개 메소드

Returns the string representation of the property path
public __toString ( ) : string
리턴 string
    public function __toString()
    {
        return $this->string;
    }

Usage Example

예제 #1
0
 public function testToString()
 {
     $path = new PropertyPath('reference.traversable[index].property');
     $this->assertEquals('reference.traversable[index].property', $path->__toString());
 }