Skip to content

Commit 17b5650

Browse files
committed
get author from opengraph. related #159
1 parent becaa40 commit 17b5650

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Providers/OpenGraph.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,14 @@ public function getTags()
140140
return (array) $this->bag->get('tags') ?: [];
141141
}
142142

143+
/**
144+
* {@inheritdoc}
145+
*/
146+
public function getAuthorName()
147+
{
148+
return $this->bag->get('author');
149+
}
150+
143151
/**
144152
* {@inheritdoc}
145153
*/

0 commit comments

Comments
 (0)