示例#1
0
 public function build()
 {
     if ($this->built === true) {
         return;
     }
     $this->built = true;
     foreach ($this->configSection->get('handler-list', []) as $handler) {
         $this->registerHandler($this->createHandler($handler));
     }
 }
示例#2
0
 /**
  * get current version codename
  *
  * @return string
  */
 public function getCodeName()
 {
     return $this->configSection->get('code-name');
 }