public function _applies()
 {
     try {
         $output = (bool) $this->decoree->applies();
     } catch (Exception $e) {
         $output = $this->supressed_result;
     }
     return $output;
 }
 /**
  * Return original results
  *
  * @return array
  */
 public function getResults()
 {
     return $this->original->getResults();
 }
示例#3
0
 /**
  * Merge results
  *
  * @return array
  */
 public function getResults()
 {
     return array_merge($this->other->getResults(), $this->original->getResults());
 }