src/Sulu/Component/DocumentManager/DocumentHelper.php
public static function getDebugTitle($document)
    {
        $title = spl_object_hash($document);

        if ($document instanceof PathBehavior && $document->getPath()) {
            $title .= ' (' . $document->getPath() . ')';
        } elseif ($document instanceof TitleBehavior && $document->getTitle()) {
            $title .= ' (' . $document->getTitle() . ')';
        }

        return $title;
    }
public static function getDebugTitle($document)
    {
        $title = spl_object_hash($document);

        if ($document instanceof PathBehavior && $document->getPath()) {
            $title .= ' (' . $document->getPath() . ')';
        } elseif ($document instanceof TitleBehavior && $document->getTitle()) {
            $title .= ' (' . $document->getTitle() . ')';
        }

        return $title;
    }
public static function getDebugTitle ( $ document ) { $ title = spl_object_hash ( $ document ) ; if ( $ document instanceof PathBehavior && $ document -> getPath ( ) ) { $ title .= ' (' . $ document -> getPath ( ) . ')' ; } elseif ( $ document instanceof TitleBehavior && $ document -> getTitle ( ) ) { $ title .= ' (' . $ document -> getTitle ( ) . ')' ; } return $ title ; }
Return a debug title for the document for use in exception messages.

@param $document

@return string
Return a debug title for the document for use in exception messages .