Class LoggerLocationInfo

Description

The internal representation of caller location information.

  • author: Marco Vassura
  • version: $Revision: 556801 $
  • since: 0.3

Located in /spi/LoggerLocationInfo.php (line 34)


	
			
Variable Summary
string $className
string $fileName
string $fullInfo
string $lineNumber
string $methodName
Method Summary
LoggerLocationInfo __construct (array $trace, [ $fqcn = null], mixed $caller)
void getClassName ()
void getFileName ()
void getLineNumber ()
void getMethodName ()
Variables
string $className = null (line 49)
  • var: Caller's fully qualified class name.
  • access: protected
string $fileName = null (line 44)
  • var: Caller's file name.
  • access: protected
string $fullInfo = null (line 59)
  • access: protected
string $lineNumber = null (line 39)
  • var: Caller's line number.
  • access: protected
string $methodName = null (line 54)
  • var: Caller's method name.
  • access: protected
Methods
Constructor __construct (line 67)

Instantiate location information based on a http://www.php.net/debug_backtrace.

  • access: public
LoggerLocationInfo __construct (array $trace, [ $fqcn = null], mixed $caller)
  • array $trace
  • mixed $caller
  • $fqcn
getClassName (line 78)
  • access: public
void getClassName ()
getFileName (line 87)

Return the file name of the caller.

This information is not always available.

  • access: public
void getFileName ()
getLineNumber (line 96)

Returns the line number of the caller.

This information is not always available.

  • access: public
void getLineNumber ()
getMethodName (line 104)

Returns the method name of the caller.

  • access: public
void getMethodName ()

Documentation generated by phpDocumentor 1.3.2