1<?php 2 3namespace geoPHP\Geometry; 4 5/** 6 * Class MultiSurface 7 * TODO write this 8 * 9 * @package geoPHP\Geometry 10 */ 11abstract class MultiSurface extends MultiGeometry 12{ 13 14 public function __construct($components = [], $allowEmptyComponents = true, $allowedComponentType = Surface::class) 15 { 16 parent::__construct($components, $allowEmptyComponents, $allowedComponentType); 17 } 18 19 public function geometryType() 20 { 21 return Geometry::MULTI_SURFACE; 22 } 23 24 public function dimension() 25 { 26 return 2; 27 } 28} 29