for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Leogout\Bundle\SeoBundle\Seo;
use Leogout\Bundle\SeoBundle\Builder\TagBuilder;
use Leogout\Bundle\SeoBundle\Model\RenderableInterface;
/**
* Description of AbstractSeoGenerator.
*
* @author: leogout
*/
abstract class AbstractSeoGenerator implements RenderableInterface
{
* @var TagBuilder
protected $tagBuilder;
* BasicSeoBuilder constructor.
* @param TagBuilder $tagBuilder
public function __construct(TagBuilder $tagBuilder)
$this->tagBuilder = $tagBuilder;
}
* @return string
public function render()
return $this->tagBuilder->render();
public function __toString()
return $this->render();