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());
 }