2013-09-26 46 views
0

我在学习Zend,并且仍然遇到以下try-catch语句。例如:

try { 
     $album = $this->getAlbumTable()->getAlbum($id); 
    } 
    catch (\Exception $ex) { 
     return $this->redirect()->toRoute('album', array(
      'action' => 'index' 
     )); 
    } 

我不明白什么是反斜杠的重要性“\”中的异常类名的弗朗象征。

回答

相关问题