src/Subjects/AbstractSubject.php
/**
     * Append's the exception suffix containing filename and line number to the
     * passed message. If no message has been passed, only the suffix will be
     * returned
     *
     * @param string|null $message    The message to append the exception suffix to
     * @param string|null $filename   The filename used to create the suffix
     * @param string|null $lineNumber The line number used to create the suffx
     *
     * @return string The message with the appended exception suffix
     */
Append's the exception suffix containing filename and line number to the
passed message. If no message has been passed, only the suffix will be
returned

@param string|null $message    The message to append the exception suffix to
@param string|null $filename   The filename used to create the suffix
@param string|null $lineNumber The line number used to create the suffx

@return string The message with the appended exception suffix
Append ' s the exception suffix containing filename and line number to the passed message . If no message has been passed only the suffix will be returned @param string|null $message The message to append the exception suffix to @param string|null $filename The filename used to create the suffix @param string|null $lineNumber The line number used to create the suffx @return string The message with the appended exception suffix
public function appendExceptionSuffix($message = null, $filename = null, $lineNumber = null)
    {
        if ($filename === null) {
            $filename = $this->getFilename();
        }
        if ($lineNumber === null) {
            $lineNumber = $this->getLineNumber();
        }
        if ($message === null) {
            return sprintf(' in file %s on line %d', basename($filename), $lineNumber);
        }
        return sprintf('%s in file %s on line %d', $message, basename($filename), $lineNumber);
    }
public function appendExceptionSuffix ( $ message = null , $ filename = null , $ lineNumber = null ) { if ( $ filename === null ) { $ filename = $ this -> getFilename ( ) ; } if ( $ lineNumber === null ) { $ lineNumber = $ this -> getLineNumber ( ) ; } if ( $ message === null ) { return sprintf ( ' in file %s on line %d' , basename ( $ filename ) , $ lineNumber ) ; } return sprintf ( '%s in file %s on line %d' , $ message , basename ( $ filename ) , $ lineNumber ) ; }
Append's the exception suffix containing filename and line number to the
 passed message.
Append ' s the exception suffix containing filename and line number to the passed message .
// query whether or not a filename has been passed // query whether or not a line number has been passed // if no message has been passed, only return the suffix // concatenate the message with the suffix and return it