Skip to content

Commit

Permalink
Merge branch 'feature/unregister-autoloader' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
trq committed Apr 30, 2012
2 parents ffc409c + 525634e commit 9cf3abc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/Proem/Autoloader.php
Expand Up @@ -117,6 +117,17 @@ public function register()
return $this;
}

/**
* Unregister the autoloader.
*
* @return Proem\Api\Autoloader
*/
public function unregister()
{
spl_autoload_unregister([$this, 'load']);
return $this;
}

/**
* Load a class
*
Expand Down

0 comments on commit 9cf3abc

Please sign in to comment.