MAPG-86 refactor view-controller

This commit is contained in:
bence committed 2020-05-31 21:00:23 +02:00
1 parent b0b244712f
commit 88fe7b7a03
7 files changed
+62 -17

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
<?php namespace MapGuesser\Response;
use MapGuesser\Interfaces\Response\IContent;
abstract class ContentBase implements IContent
{
protected array $data;
public function &getData(): array
{
return $this->data;
}
abstract public function &render(): string;
abstract public function getContentType(): string;
}