public function __construct($name, $driverInstance) { $this->driverInstance = $driverInstance; $this->driverInstance->setName($name); }