<?php

// AUTOMATICALLY GENERATED.  DO NOT EDIT.
// Use `composer build` to regenerate.

namespace Wikimedia\IDLeDOM\Stub;

use Exception;

trait Location {

	// Underscore is used to avoid conflicts with DOM-reserved names
	// phpcs:disable PSR2.Methods.MethodDeclaration.Underscore
	// phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName

	/**
	 * @return Exception
	 */
	abstract protected function _unimplemented(): Exception;

	// phpcs:enable

	/**
	 * @return string
	 */
	public function getHref(): string {
		throw self::_unimplemented();
	}

	/**
	 * @param string $val
	 */
	public function setHref( string $val ): void {
		throw self::_unimplemented();
	}

	/**
	 * @return string
	 */
	public function getOrigin(): string {
		throw self::_unimplemented();
	}

	/**
	 * @return string
	 */
	public function getProtocol(): string {
		throw self::_unimplemented();
	}

	/**
	 * @param string $val
	 */
	public function setProtocol( string $val ): void {
		throw self::_unimplemented();
	}

	/**
	 * @return string
	 */
	public function getHost(): string {
		throw self::_unimplemented();
	}

	/**
	 * @param string $val
	 */
	public function setHost( string $val ): void {
		throw self::_unimplemented();
	}

	/**
	 * @return string
	 */
	public function getHostname(): string {
		throw self::_unimplemented();
	}

	/**
	 * @param string $val
	 */
	public function setHostname( string $val ): void {
		throw self::_unimplemented();
	}

	/**
	 * @return string
	 */
	public function getPort(): string {
		throw self::_unimplemented();
	}

	/**
	 * @param string $val
	 */
	public function setPort( string $val ): void {
		throw self::_unimplemented();
	}

	/**
	 * @return string
	 */
	public function getPathname(): string {
		throw self::_unimplemented();
	}

	/**
	 * @param string $val
	 */
	public function setPathname( string $val ): void {
		throw self::_unimplemented();
	}

	/**
	 * @return string
	 */
	public function getSearch(): string {
		throw self::_unimplemented();
	}

	/**
	 * @param string $val
	 */
	public function setSearch( string $val ): void {
		throw self::_unimplemented();
	}

	/**
	 * @return string
	 */
	public function getHash(): string {
		throw self::_unimplemented();
	}

	/**
	 * @param string $val
	 */
	public function setHash( string $val ): void {
		throw self::_unimplemented();
	}

	/**
	 * @param string $url
	 * @return void
	 */
	public function assign( string $url ): void {
		throw self::_unimplemented();
	}

	/**
	 * @param string $url
	 * @return void
	 */
	public function replace( string $url ): void {
		throw self::_unimplemented();
	}

	/**
	 * @return void
	 */
	public function reload(): void {
		throw self::_unimplemented();
	}

}
