Пример #1
0
 protected function lookupClass($sPath, core\argument $args, $bDebug = true)
 {
     if (!($result = $args->get($sPath, false)) and $bDebug) {
         $this->throwException(sprintf('Cannot build object alias %s. Path not found', $sPath), array(), 4);
     }
     return $result;
 }
Пример #2
0
 protected function loadVariable(core\argument $step, array &$aStep)
 {
     if ($var = $step->get('variable', false)) {
         $aStep['variable'][] = array('name' => $var->read('@name'));
     }
 }