public function add(IMinkDriverFactory $driver_factory)
	{
		$driver_name = $driver_factory->getDriverName();

		if ( isset($this->_registry[$driver_name]) ) {
			throw new \LogicException('Driver factory for "' . $driver_name . '" driver is already registered.');
		}

		$this->_registry[$driver_name] = $driver_factory;
	}
public function add(IMinkDriverFactory $driver_factory)
	{
		$driver_name = $driver_factory->getDriverName();

		if ( isset($this->_registry[$driver_name]) ) {
			throw new \LogicException('Driver factory for "' . $driver_name . '" driver is already registered.');
		}

		$this->_registry[$driver_name] = $driver_factory;
	}
public function add ( IMinkDriverFactory $ driver_factory ) { $ driver_name = $ driver_factory -> getDriverName ( ) ; if ( isset ( $ this -> _registry [ $ driver_name ] ) ) { throw new \ LogicException ( 'Driver factory for "' . $ driver_name . '" driver is already registered.' ) ; } $ this -> _registry [ $ driver_name ] = $ driver_factory ; }
Registers Mink driver factory.

@param IMinkDriverFactory $driver_factory Driver factory.

@return void
@throws \LogicException When driver factory is already registered.
Registers Mink driver factory .