public function enterOptional(OptionalPath $path): void
    {
        if (!$this->optionalAttributesProvided($path)) {
            $this->done = true;
        }
    }
public function enterOptional(OptionalPath $path): void
    {
        if (!$this->optionalAttributesProvided($path)) {
            $this->done = true;
        }
    }
public function enterOptional ( OptionalPath $ path ) : void { if ( ! $ this -> optionalAttributesProvided ( $ path ) ) { $ this -> done = true ; } }
Determines if the optional path should be present in the URI.

@param OptionalPath $path
Determines if the optional path should be present in the URI .