diff --git a/src/EventSquare.php b/src/EventSquare.php index af92ccb..540a68d 100644 --- a/src/EventSquare.php +++ b/src/EventSquare.php @@ -6,6 +6,7 @@ use EventSquare\Connection; use EventSquare\Store; use EventSquare\Pocket; +use EventSquare\Seatmap; class EventSquare { @@ -79,6 +80,14 @@ public function pockets($uid) return new Pocket($this->connection,$uid); } + /** + * Seatmaps + */ + public function seatmaps($uid) + { + return new Seatmap($this->connection,$uid); + } + /** * Check Depencies for library * @return [type] [description] diff --git a/src/Seatmap.php b/src/Seatmap.php new file mode 100644 index 0000000..5f96a75 --- /dev/null +++ b/src/Seatmap.php @@ -0,0 +1,31 @@ +connection = $connection; + $this->uid = $uid; + } + + public function details() { + return $this->connection->send('seatmap/'.$this->uid,'seatmap',$this); + } + + public function append($data) { + $this->data = $data; + return $this; + } + + public function data() { + return $this->data; + } + +}