Merged in feature/from-pantheon (pull request #16)
code from pantheon * code from pantheon
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace Yoast\WP\SEO\Presenters;
|
||||
|
||||
/**
|
||||
* Abstract_Presenter class.
|
||||
*/
|
||||
abstract class Abstract_Presenter {
|
||||
|
||||
/**
|
||||
* Returns the output as string.
|
||||
*
|
||||
* @return string The output.
|
||||
*/
|
||||
abstract public function present();
|
||||
|
||||
/**
|
||||
* Returns the output as string.
|
||||
*
|
||||
* @return string The output.
|
||||
*/
|
||||
public function __toString() {
|
||||
return $this->present();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user