public function __construct(DSN $dsn) { if (!$dsn->isPgSQL()) { throw new ConfigurationException(sprintf("\\%s expects a DSN of type '%s', '%s' given", __CLASS__, DSN::TYPE_PGSQL, $dsn->type)); } parent::__construct($dsn); }