Exemplo n.º 1
0
 /**
  * 
  * 
  * @override
  * @return array
  */
 public function getTraceSafe()
 {
     if (count($this->_outerTrace) > 0) {
         return $this->_outerTrace;
     }
     return parent::getTraceSafe();
 }
Exemplo n.º 2
0
 public function testGetTraceSafe()
 {
     $e = new PEAR_Exception('oops');
     $this->assertInternalType('array', $e->getTraceSafe());
 }