Copied!
CloneableInstantiable
Methods
public __construct(Gitonomy\Git\Repository $repository, Gitonomy\Git\Revision $revision, $file, $lineRange = NULL)
 
  • param string $lineRange Argument to pass to git blame (-L). Can be a line range (40,60 or 40,+21) or a regexp ('/^function$/')
public count()
 
  • return int
  • attribute ReturnTypeWillChange
public getGroupedLines()
 

Returns lines grouped by commit.

  • return array a list of two-elements array (commit, lines)
public getLine( $number)
 
  • return \Line
public getLines()
 
  • return \Line[] All lines of the blame.
Properties
protected $file = NULL
 
  • var string
protected $lineRange = NULL
 
  • var string|null
protected $lines = NULL
 
  • var array|null
protected $repository = NULL
 
  • var \Repository
protected $revision = NULL
 
  • var \Revision
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration