Symfony\Component\Debug\Exception\FlattenException::getFile PHP Method

getFile() public method

public getFile ( )
    public function getFile()
    {
        return $this->file;
    }

Usage Example

コード例 #1
0
 public function exceptionAction(FlattenException $exception)
 {
     $this->view->status_code = $exception->getStatusCode();
     $this->view->message = $exception->getMessage();
     $this->view->file = $this->getShortFileName($exception->getFile());
     $this->view->line = $exception->getLine();
     $this->view->trace = $this->parseTrace($exception->getTrace());
     return $this->renderTo('@HideksFramework/templates/exception.html');
 }
All Usage Examples Of Symfony\Component\Debug\Exception\FlattenException::getFile