Connector.php
public function addDriver(DriverInterface $driver)
    {
        $driver->setConnector($this);
        $this->driverList[$driver->getDriverId()] = $driver;

        return $this;
    }
public function addDriver(DriverInterface $driver)
    {
        $driver->setConnector($this);
        $this->driverList[$driver->getDriverId()] = $driver;

        return $this;
    }
public function addDriver ( DriverInterface $ driver ) { $ driver -> setConnector ( $ this ) ; $ this -> driverList [ $ driver -> getDriverId ( ) ] = $ driver ; return $ this ; }
add Driver.

@param DriverInterface $driver

@return $this
add Driver .