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

getLine() public method

public getLine ( )
    public function getLine()
    {
        return $this->line;
    }

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::getLine