Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Removing underscores from the PHARLoader properties.

  • Loading branch information...
commit 27c4e49dd0ebcf28c6e1d502e4e7b4501844ea36 1 parent 555d175
Tomasz Jędrzejewski authored June 14, 2011

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 8  src/Opl/Autoloader/PHARLoader.php
8  src/Opl/Autoloader/PHARLoader.php
@@ -26,7 +26,7 @@ class PHARLoader
26 26
 	 * @var array
27 27
 	 * @internal
28 28
 	 */
29  
-	protected $_classMap;
  29
+	protected $classMap;
30 30
 
31 31
 	/**
32 32
 	 * Creates the class map loader and loads the map into the memory.
@@ -37,7 +37,7 @@ class PHARLoader
37 37
 	 */
38 38
 	public function __construct(array $classMap)
39 39
 	{
40  
-		$this->_classMap = $classMap;
  40
+		$this->classMap = $classMap;
41 41
 	} // end __construct();
42 42
 
43 43
 	/**
@@ -64,11 +64,11 @@ public function unregister()
64 64
 	 */
65 65
 	public function loadClass($className)
66 66
 	{
67  
-		if(!isset($this->_classMap[$className]))
  67
+		if(!isset($this->classMap[$className]))
68 68
 		{
69 69
 			return false;
70 70
 		}
71  
-		require('phar://'.__FILE__.'/'.$this->_classMap[$className][1]);
  71
+		require('phar://'.__FILE__.'/'.$this->classMap[$className][1]);
72 72
 		return true;
73 73
 	} // end loadClass();
74 74
 } // end PHARLoader;

0 notes on commit 27c4e49

Please sign in to comment.
Something went wrong with that request. Please try again.