/** * @param array|string|null $value * @param int|null $srid */ public function __construct($value = null, $srid = null) { parent::__construct($srid); $this->values = array(0, 0); if (null !== $value) { $this->set($value); } }
/** * @param LineString[]|array[] $rings * @param int|null $srid */ public function __construct(array $rings = array(), $srid = null) { parent::__construct($srid); $this->setRings($rings); }