implementing the expected interface 'LocateableNode'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
$unlInstance = $this->determineUniversalNodeLocator();
// Make sure the instance is valid
- // * DEBUG: */ $this->debugInstance('unlInstance[]=' . gettype($unlInstance));
- assert($unlInstance instanceof LocateableNode);
+ if (!$unlInstance instanceof LocateableNode) {
+ // No valid instance, so better debug this
+ $this->debugBackTrace('unlInstance[' . gettype($unlInstance) . ']=' . $unlInstance);
+ } // END - if
// ... and the array from it
$unlData = $unlInstance->getUnlData();