src/Controller/Component/SetupComponent.php
protected function _cleanedUrl($type) {
		$type = (array)$type;
		if (Configure::read('Config.productive')) {
			$type[] = 'pwd';
		}

		return Setup::cleanedUrl($type, $this->Controller->request->getAttribute('params') + ['?' => $this->Controller->request->getQuery()]);
	}
protected function _cleanedUrl($type) {
		$type = (array)$type;
		if (Configure::read('Config.productive')) {
			$type[] = 'pwd';
		}

		return Setup::cleanedUrl($type, $this->Controller->request->getAttribute('params') + ['?' => $this->Controller->request->getQuery()]);
	}
protected function _cleanedUrl ( $ type ) { $ type = ( array ) $ type ; if ( Configure :: read ( 'Config.productive' ) ) { $ type [ ] = 'pwd' ; } return Setup :: cleanedUrl ( $ type , $ this -> Controller -> request -> getAttribute ( 'params' ) + [ '?' => $ this -> Controller -> request -> getQuery ( ) ] ) ; }
Remove specific named param from parsed url array

@param string|array $type
@return array URL
Remove specific named param from parsed url array