public function getObjectLog(NodeObject $obj, $branch = null, int $limit = 1, int $offset = null)
    {
        $command = LogCommand::getInstance($this)->showObjectLog($obj, $branch, $limit, $offset);

        return Log::createFromOutputLines($this, $this->caller->execute($command)->getOutputLines());
    }
public function getObjectLog(NodeObject $obj, $branch = null, int $limit = 1, int $offset = null)
    {
        $command = LogCommand::getInstance($this)->showObjectLog($obj, $branch, $limit, $offset);

        return Log::createFromOutputLines($this, $this->caller->execute($command)->getOutputLines());
    }
public function getObjectLog ( NodeObject $ obj , $ branch = null , int $ limit = 1 , int $ offset = null ) { $ command = LogCommand :: getInstance ( $ this ) -> showObjectLog ( $ obj , $ branch , $ limit , $ offset ) ; return Log :: createFromOutputLines ( $ this , $ this -> caller -> execute ( $ command ) -> getOutputLines ( ) ) ; }
Get a log for an object

@param \GitElephant\Objects\NodeObject         $obj    The Object instance
@param null|string|\GitElephant\Objects\Branch $branch The branch to read from
@param int                                     $limit  Limit to n entries
@param int|null                                $offset Skip n entries

@throws \RuntimeException
@throws \Symfony\Component\Process\Exception\LogicException
@throws InvalidArgumentException
@throws \Symfony\Component\Process\Exception\RuntimeException
@return \GitElephant\Objects\Log
Get a log for an object