From 39652bb0504972c7505350b10b9d4f9106864be2 Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Thu, 15 Nov 2018 19:16:37 +0100 Subject: [PATCH] [Bridge] Rename to --- lib/Bridge.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/Bridge.php b/lib/Bridge.php index a7186786..a8a41697 100644 --- a/lib/Bridge.php +++ b/lib/Bridge.php @@ -16,7 +16,7 @@ * directory, limited by a whitelist. * * This class is capable of: - * - Locating bridge classes in the specified working directory (see {@see Bridge::$dirBridge}) + * - Locating bridge classes in the specified working directory (see {@see Bridge::$workingDir}) * - Filtering bridges based on a whitelist (see {@see Bridge::$whitelist}) * - Creating new bridge instances based on the bridge's name (see {@see Bridge::create()}) * @@ -45,7 +45,7 @@ class Bridge { * * @var string */ - static protected $dirBridge; + static protected $workingDir; /** * Holds a list of whitelisted bridges. @@ -115,7 +115,7 @@ class Bridge { throw new \Exception('Working directory does not exist!'); } - self::$dirBridge = $dirBridge; + self::$workingDir = $dirBridge; } /** @@ -126,11 +126,11 @@ class Bridge { * @return string The current working directory. */ public static function getWorkingDir(){ - if(is_null(self::$dirBridge)) { + if(is_null(self::$workingDir)) { throw new \LogicException('Working directory is not set!'); } - return self::$dirBridge; + return self::$workingDir; } /**