Symfony\Component\Form\PropertyPath::getElement PHP Method

getElement() public method

Returns the element at the given index in the property path
public getElement ( $index ) : string
return string A property or index name
    public function getElement($index)
    {
        return $this->elements[$index];
    }