Copied!
CloneableInstantiableIterable
Methods
public __construct(Gitonomy\Git\Repository $repository, $revisions = NULL, $paths = NULL, $offset = NULL, $limit = NULL)
 

Instanciates a git log object.

  • param Gitonomy\Git\Repository $repository the repository where log occurs
  • param Gitonomy\Git\RevisionList|Gitonomy\Git\Revision|array|null $revisions a list of revisions or null if you want all history
  • param array $paths paths to filter on
  • param int|null $offset start list from a given position
  • param int|null $limit limit number of fetched elements
public count()
 
  • see \Countable
  • attribute ReturnTypeWillChange
public countCommits()
 

Count commits, without offset or limit.

  • return int
public getCommits()
public getDiff()
 
  • return Diff
public getIterator()
 
  • see \IteratorAggregate
  • attribute ReturnTypeWillChange
public getLimit()
 
  • return int
public getOffset()
 
  • return int
public getPaths()
 
  • return array
public getRevisions()
public getSingleCommit()
public setLimit( $limit)
 
  • param int $limit
public setOffset( $offset)
 
  • param int $offset
Properties
protected $limit
 
  • var int
protected $offset
 
  • var int
protected $paths
 
  • var array
protected $repository
protected $revisions
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration