public function setPathBuilder($pathBuilder, array $options = []) {
		if (is_string($pathBuilder)) {
			$this->_pathBuilder = $this->createPathBuilder($pathBuilder, $options);

			return;
		}

		if (!$pathBuilder instanceof PathBuilderInterface) {
			throw new InvalidArgumentException(sprintf('The first arg does not implement %s', PathBuilderInterface::class));
		}

		$this->_pathBuilder = $pathBuilder;
	}