From 63ea83e9a00eed0253f3a027e14a3a4797de9822 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Fri, 18 Jan 2013 13:16:09 -0500
Subject: [PATCH] Improved class name (to avoid ambiguous function name that
 could be misconstrued as constructor).

---
 module/VuFind/Module.php                                     | 5 ++---
 module/VuFind/src/VuFind/{Bootstrap.php => Bootstrapper.php} | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)
 rename module/VuFind/src/VuFind/{Bootstrap.php => Bootstrapper.php} (99%)

diff --git a/module/VuFind/Module.php b/module/VuFind/Module.php
index 78f16baa5c4..c068ec6ae43 100644
--- a/module/VuFind/Module.php
+++ b/module/VuFind/Module.php
@@ -26,8 +26,7 @@
  * @link     https://github.com/dmj/vf2-proxy
  */
 namespace VuFind;
-use VuFind\Bootstrap,
-    Zend\ModuleManager\ModuleManager,
+use Zend\ModuleManager\ModuleManager,
     Zend\Mvc\MvcEvent;
 
 /**
@@ -92,7 +91,7 @@ class Module
      */
     public function onBootstrap(MvcEvent $e)
     {
-        $bootstrapper = new Bootstrap($e);
+        $bootstrapper = new Bootstrapper($e);
         $bootstrapper->bootstrap();
     }
 }
diff --git a/module/VuFind/src/VuFind/Bootstrap.php b/module/VuFind/src/VuFind/Bootstrapper.php
similarity index 99%
rename from module/VuFind/src/VuFind/Bootstrap.php
rename to module/VuFind/src/VuFind/Bootstrapper.php
index d105e929595..918d717855e 100644
--- a/module/VuFind/src/VuFind/Bootstrap.php
+++ b/module/VuFind/src/VuFind/Bootstrapper.php
@@ -38,7 +38,7 @@ use VuFind\Config\Reader as ConfigReader,
  * @license  http://opensource.org/licenses/gpl-2.0.php GNU General Public License
  * @link     http://vufind.org   Main Site
  */
-class Bootstrap
+class Bootstrapper
 {
     protected $config;
     protected $event;
-- 
GitLab