src/Visithor/Generator/UrlGenerator.php
public function generate(array $config)
    {
        $defaultHTTPCodes = $this->getDefaultHTTPCodes($config);
        $defaultOptions = $this->getDefaultOptions($config);

        return $this->createUrlChainFromConfig(
            $config,
            $defaultHTTPCodes,
            $defaultOptions
        );
    }
public function generate(array $config)
    {
        $defaultHTTPCodes = $this->getDefaultHTTPCodes($config);
        $defaultOptions = $this->getDefaultOptions($config);

        return $this->createUrlChainFromConfig(
            $config,
            $defaultHTTPCodes,
            $defaultOptions
        );
    }
public function generate ( array $ config ) { $ defaultHTTPCodes = $ this -> getDefaultHTTPCodes ( $ config ) ; $ defaultOptions = $ this -> getDefaultOptions ( $ config ) ; return $ this -> createUrlChainFromConfig ( $ config , $ defaultHTTPCodes , $ defaultOptions ) ; }
Given a configuration array, generates a chain of urls

@param array $config Configuration

@return UrlChain Chain of URL instances
Given a configuration array generates a chain of urls