public function enterAttribute(AttributePath $path): void
    {
        if ($this->done) {
            return;
        }

        $name = $path->getName();
        $value = $this->getValue($path, $this->attributes);
        $pattern = $path->getTypePattern();

        $this->validateValue($name, $value, $pattern);

        $this->uri .= $value;
    }
public function enterAttribute(AttributePath $path): void
    {
        if ($this->done) {
            return;
        }

        $name = $path->getName();
        $value = $this->getValue($path, $this->attributes);
        $pattern = $path->getTypePattern();

        $this->validateValue($name, $value, $pattern);

        $this->uri .= $value;
    }
public function enterAttribute ( AttributePath $ path ) : void { if ( $ this -> done ) { return ; } $ name = $ path -> getName ( ) ; $ value = $ this -> getValue ( $ path , $ this -> attributes ) ; $ pattern = $ path -> getTypePattern ( ) ; $ this -> validateValue ( $ name , $ value , $ pattern ) ; $ this -> uri .= $ value ; }
Adds the attribute value to the URI.

@param AttributePath $path
@throws InvalidAttribute
Adds the attribute value to the URI .