original_string: public function processCompoundObject(Exception $exception)
      {
          switch ($this->code) {
              case 200:
                  $result = $this->processIni($exception);
                  break;
  
              case 300:
                  $result = $this->processPhp($exception);
                  break;
  
              case 400:
                  $result = $this->processTwig($exception);
                  break;
          }
          if ($result !== false) {
              $this->file = $this->compoundObject->getFilePath();
  
              if (File::isFile($this->file) && is_readable($this->file)) {
                  $this->fileContent = @file($this->file);
              }
          }
  
          return $result;
      }
code: public function processCompoundObject(Exception $exception)
      {
          switch ($this->code) {
              case 200:
                  $result = $this->processIni($exception);
                  break;
  
              case 300:
                  $result = $this->processPhp($exception);
                  break;
  
              case 400:
                  $result = $this->processTwig($exception);
                  break;
          }
          if ($result !== false) {
              $this->file = $this->compoundObject->getFilePath();
  
              if (File::isFile($this->file) && is_readable($this->file)) {
                  $this->fileContent = @file($this->file);
              }
          }
  
          return $result;
      }
code_tokens: public function processCompoundObject ( Exception $ exception ) { switch ( $ this -> code ) { case 200 : $ result = $ this -> processIni ( $ exception ) ; break ; case 300 : $ result = $ this -> processPhp ( $ exception ) ; break ; case 400 : $ result = $ this -> processTwig ( $ exception ) ; break ; } if ( $ result !== false ) { $ this -> file = $ this -> compoundObject -> getFilePath ( ) ; if ( File :: isFile ( $ this -> file ) && is_readable ( $ this -> file ) ) { $ this -> fileContent = @ file ( $ this -> file ) ; } } return $ result ; }
docstring: Checks some conditions to confirm error has actually occurred
  due to the CMS template code, not some external code. If the error
  has occurred in external code, the function will return false. Otherwise return
  true and modify the exception by overriding it's content, line and message values
  to be accurate against a CMS object properties.
  @param \Exception $exception The exception to modify.
  @return bool
docstring_tokens: Checks some conditions to confirm error has actually occurred due to the CMS template code not some external code . If the error has occurred in external code the function will return false . Otherwise return true and modify the exception by overriding it s content line and message values to be accurate against a CMS object properties .