Parameters
$className - The debug class name.
$methodName - The debug method name.
$valueName - The value name.
Syntax
| PHP |
|
public function Location(int $lineNumber, $valueName = null): string
|
Gets the location string.
Example
| PHP |
// Gets the location string.
private static function Location()
{
$className = "CommonTest";
$methodName = "GetLogObjectText";
$valueName = "\$value";
$result = LJC::Location($className, $methodName, $valueName);
// result:
// CommonTest.GetLogObjectText $value:
}
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.