src/ShapeFile.php
private function _saveBBoxRecord($file, $type)
    {
        fwrite($file, Util::packDouble(
            isset($this->boundingBox[$type]) ? $this->boundingBox[$type] : 0
        ));
    }
private function _saveBBoxRecord($file, $type)
    {
        fwrite($file, Util::packDouble(
            isset($this->boundingBox[$type]) ? $this->boundingBox[$type] : 0
        ));
    }
private function _saveBBoxRecord ( $ file , $ type ) { fwrite ( $ file , Util :: packDouble ( isset ( $ this -> boundingBox [ $ type ] ) ? $ this -> boundingBox [ $ type ] : 0 ) ) ; }
Saves bounding box record, possibly using 0 instead of not set values.

@param file   $file File object
@param string $type Bounding box dimension (eg. xmax, mmin...)
Saves bounding box record possibly using 0 instead of not set values .