From 27da5ba2532a921a11fb70347d75476e540ac136 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20Hu=CC=88bner?= Date: Fri, 26 May 2017 16:06:21 +0200 Subject: [PATCH] Rename main class into Printer. --- src/{StaticMapLite.php => Printer.php} | 2 +- web/staticmap.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/{StaticMapLite.php => Printer.php} (99%) diff --git a/src/StaticMapLite.php b/src/Printer.php similarity index 99% rename from src/StaticMapLite.php rename to src/Printer.php index 72c633d..a93bb2b 100644 --- a/src/StaticMapLite.php +++ b/src/Printer.php @@ -2,7 +2,7 @@ namespace StaticMapLite; -class StaticMapLite +class Printer { protected $maxWidth = 1024; protected $maxHeight = 1024; diff --git a/web/staticmap.php b/web/staticmap.php index e465d7a..db89c2c 100644 --- a/web/staticmap.php +++ b/web/staticmap.php @@ -27,7 +27,7 @@ require_once '../vendor/autoload.php'; -use StaticMapLite\StaticMapLite; +use StaticMapLite\Printer; -$map = new StaticMapLite(); -print $map->showMap(); +$printer = new Printer(); +print $printer->showMap();