function connect() { if (!$this->connected) { parent::__construct($this->connexion->getDns(), $this->connexion->getUserName(), $this->connexion->getPassWord(), $this->connexion->getOptions()); $this->connected = true; } return $this; }