Parameters
$location - The debug location.
$value - The value.
$bracket - The optional bracket flag.
Syntax
| PHP |
public function GetLogText(string $location, $value , bool $isObject = true): string
|
Gets the object debug text.
Example
| PHP |
// Gets the object debug text.
private static function GetLogObjectText()
{
$className = "CommonTest";
$methodName = "GetLogObjectText";
$valueName = "\$value";
$location = LJC::Location($className, $methodName, $valueName);
// Example Method
$object = "Test";
$result = LJC::GetLogObjectText($location, $object);
// result;
//
// CommonTest.GetLogObjectText $value:
// Test
}
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.