Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removing underscores from the PHARLoader properties.

  • Loading branch information...
commit 27c4e49dd0ebcf28c6e1d502e4e7b4501844ea36 1 parent 555d175
@zyxist zyxist authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/Opl/Autoloader/PHARLoader.php
View
8 src/Opl/Autoloader/PHARLoader.php
@@ -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.
@@ -37,7 +37,7 @@ class PHARLoader
*/
public function __construct(array $classMap)
{
- $this->_classMap = $classMap;
+ $this->classMap = $classMap;
} // end __construct();
/**
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.