예제 #1
0
 /**
  * Unregisters the class loader (deactivates it).
  *
  * Basically, spl_autoload_unregister($this->getHandle())
  *
  * @return $this
  */
 public function unregister()
 {
     if (!$this->isRegistered()) {
         return $this;
     }
     if (spl_autoload_unregister($this->handle)) {
         return parent::unregister();
     }
     return $this;
 }
예제 #2
0
 public function unregister()
 {
     $this->innerLoader->unregister();
     return parent::unregister();
 }