protected function create($type)
	{
		if ( !isset($this->browserConfigurations[$type]) ) {
			throw new \InvalidArgumentException('Browser configuration type "' . $type . '" not registered');
		}

		return clone $this->browserConfigurations[$type];
	}
protected function create($type)
	{
		if ( !isset($this->browserConfigurations[$type]) ) {
			throw new \InvalidArgumentException('Browser configuration type "' . $type . '" not registered');
		}

		return clone $this->browserConfigurations[$type];
	}
protected function create ( $ type ) { if ( ! isset ( $ this -> browserConfigurations [ $ type ] ) ) { throw new \ InvalidArgumentException ( 'Browser configuration type "' . $ type . '" not registered' ) ; } return clone $ this -> browserConfigurations [ $ type ] ; }
Creates browser configuration based on give type.

@param string $type Type.

@return BrowserConfiguration
@throws \InvalidArgumentException When browser configuration not registered.
Creates browser configuration based on give type .