| 1 |
<?php |
| 2 |
|
| 3 |
namespace Yoast\WP\SEO\Presenters\Twitter; |
| 4 |
|
| 5 |
use Yoast\WP\SEO\Presenters\Abstract_Indexable_Tag_Presenter; |
| 6 |
|
| 7 |
/** |
| 8 |
* Presenter class for the Twitter creator. |
| 9 |
*/ |
| 10 |
class Creator_Presenter extends Abstract_Indexable_Tag_Presenter { |
| 11 |
|
| 12 |
/** |
| 13 |
* The tag key name. |
| 14 |
* |
| 15 |
* @var string |
| 16 |
*/ |
| 17 |
protected $key = 'twitter:creator'; |
| 18 |
|
| 19 |
/** |
| 20 |
* Gets the raw value of a presentation. |
| 21 |
* |
| 22 |
* @return string The raw value. |
| 23 |
*/ |
| 24 |
public function get() { |
| 25 |
return $this->presentation->twitter_creator; |
| 26 |
} |
| 27 |
} |
| 28 |
|