/** * @param string $baseUrl The base URL to use for the UrlGenerator * @param bool $friendly Optional. True for friendly URLS (default), false for standard URLs * @return UrlGenerator The created URL generator for this step */ public function createUrlGenerator($baseUrl, $friendly = true) { return UrlGenerator::create($friendly, $baseUrl, $this->testInfo->getId(), $this->run, $this->cached, $this->step); }