public function setConnectionResource($resource): void
    {
        $this->connection = $resource;

        $this->setDateStyle(pg_parameter_status($resource, 'DateStyle'));
    }
public function setConnectionResource($resource): void
    {
        $this->connection = $resource;

        $this->setDateStyle(pg_parameter_status($resource, 'DateStyle'));
    }
public function setConnectionResource ( $ resource ) : void { $ this -> connection = $ resource ; $ this -> setDateStyle ( pg_parameter_status ( $ resource , 'DateStyle' ) ) ; }
Sets the connection resource this converter works with

@param resource $resource
@return void
Sets the connection resource this converter works with