Example #1
0
 /**
  * @throws \LogicException
  */
 public function init()
 {
     if ($this->isIntialized) {
         throw new \LogicException("Bootstrap already initialized");
     }
     $this->getAutoloader();
     Config::setInstance($this->getConfig());
 }