We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7c06d7 commit 1ac48dcCopy full SHA for 1ac48dc
doc/api/blame.rst
@@ -25,6 +25,19 @@ If you want to access directly a line:
25
26
$line = $blame->getLine(32);
27
28
+The Line object
29
+---------------
30
+
31
+LineObject represents an item of the blame file. It is composed of those informations:
32
33
+.. code-block:: php
34
35
+ $line->getCommit(); // returns a Commit
36
+ $line->getContent(); // returns text
37
38
+ // you can access author from commmit:
39
+ $author = $line->getCommit()->getAuthorName();
40
41
Group reading by commit
42
-----------------------
43
0 commit comments