@@ -0,0 +1,14 @@
+<?php
+/**
+ * Created by PhpStorm.
+ * User: mrs
+ * Date: 28.12.2017
+ * Time: 14:00
+ */
+
+interface AllSegments
+{
+ public function getAllSegments(): array;
+ public function getAllSegmentsLength(): float;
+}
@@ -0,0 +1,12 @@
+ * Time: 11:25
+interface Perimeter
+ public function getPerimeter(): float;
@@ -0,0 +1,13 @@
+ * Time: 13:44
+interface SegmentLength
+ public function getSegmentLength(): float;