Symfony\Component\DomCrawler\Form::getRawUri PHP Method

getRawUri() protected method

protected getRawUri ( )
    protected function getRawUri()
    {
        // If the form was created from a button rather than the form node, check for HTML5 action overrides
        if ($this->button !== $this->node && $this->button->getAttribute('formaction')) {
            return $this->button->getAttribute('formaction');
        }

        return $this->node->getAttribute('action');
    }