Controller/Controller.php
public function createNotFoundException($message = 'Not Found', \Exception $previous = null)
    {
        if ($this->has('atom.404.logger')) {
            $log = $this->get('atom.404.logger');
            $log->addRecord(400, $message, array('request' => $this->getRequest()->getUri()));
        }

        return new NotFoundHttpException($message, $previous);
    }
public function createNotFoundException($message = 'Not Found', \Exception $previous = null)
    {
        if ($this->has('atom.404.logger')) {
            $log = $this->get('atom.404.logger');
            $log->addRecord(400, $message, array('request' => $this->getRequest()->getUri()));
        }

        return new NotFoundHttpException($message, $previous);
    }
public function createNotFoundException ( $ message = 'Not Found' , \ Exception $ previous = null ) { if ( $ this -> has ( 'atom.404.logger' ) ) { $ log = $ this -> get ( 'atom.404.logger' ) ; $ log -> addRecord ( 400 , $ message , array ( 'request' => $ this -> getRequest ( ) -> getUri ( ) ) ) ; } return new NotFoundHttpException ( $ message , $ previous ) ; }
Sends 404 to Page AtomLogger

@param  string     $message  Error Message to be logged
@param  \Exception $previous Previous message made prior to 404
@return NotFoundHttpException
Sends 404 to Page AtomLogger