Skip to content

Commit

Permalink
Removing underscores from the PHARLoader properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxist committed Jun 14, 2011
1 parent 555d175 commit 27c4e49
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Opl/Autoloader/PHARLoader.php
Expand Up @@ -26,7 +26,7 @@ class PHARLoader
* @var array
* @internal
*/
protected $_classMap;
protected $classMap;

/**
* Creates the class map loader and loads the map into the memory.
Expand All @@ -37,7 +37,7 @@ class PHARLoader
*/
public function __construct(array $classMap)
{
$this->_classMap = $classMap;
$this->classMap = $classMap;
} // end __construct();

/**
Expand All @@ -64,11 +64,11 @@ public function unregister()
*/
public function loadClass($className)
{
if(!isset($this->_classMap[$className]))
if(!isset($this->classMap[$className]))
{
return false;
}
require('phar://'.__FILE__.'/'.$this->_classMap[$className][1]);
require('phar://'.__FILE__.'/'.$this->classMap[$className][1]);
return true;
} // end loadClass();
} // end PHARLoader;

0 comments on commit 27c4e49

Please sign in to comment.