public function showObjectLog(NodeObject $obj, $branch = null, $limit = null, $offset = null)
    {
        $subject = null;
        if (null !== $branch) {
            if ($branch instanceof Branch) {
                $subject .= $branch->getName();
            } else {
                $subject .= (string) $branch;
            }
        }

        return $this->showLog($subject, $obj->getFullPath(), $limit, $offset);
    }
public function showObjectLog(NodeObject $obj, $branch = null, $limit = null, $offset = null)
    {
        $subject = null;
        if (null !== $branch) {
            if ($branch instanceof Branch) {
                $subject .= $branch->getName();
            } else {
                $subject .= (string) $branch;
            }
        }

        return $this->showLog($subject, $obj->getFullPath(), $limit, $offset);
    }
public function showObjectLog ( NodeObject $ obj , $ branch = null , $ limit = null , $ offset = null ) { $ subject = null ; if ( null !== $ branch ) { if ( $ branch instanceof Branch ) { $ subject .= $ branch -> getName ( ) ; } else { $ subject .= ( string ) $ branch ; } } return $ this -> showLog ( $ subject , $ obj -> getFullPath ( ) , $ limit , $ offset ) ; }
Build an object log command

@param \GitElephant\Objects\NodeObject         $obj    the Object to get the log for
@param \GitElephant\Objects\Branch|string|null $branch the branch to consider
@param int|null                                $limit  limit to n entries
@param int|null                                $offset skip n entries

@throws \RuntimeException
@return string
Build an object log command