예제 #1
0
 /**
  * 处理方法
  */
 public function doHandle($context)
 {
     if (!isset($this->handle)) {
         return null;
     }
     return $this->handle->doHandle($context);
 }
예제 #2
0
 public function doHandle($context)
 {
     $result = parent::doHandle($context + 1);
     if (empty($result)) {
         return $result = ['Example' . $context];
     }
     $result[] = 'Example' . $context;
     return $result;
 }