21 lines
447 B
PHP
21 lines
447 B
PHP
<?php
|
|
|
|
namespace Trinity\Bundle\NewsletterBundle\Model;
|
|
|
|
use Trinity\Bundle\NewsletterBundle\Model\om\BaseBlock;
|
|
|
|
class Block extends BaseBlock
|
|
{
|
|
public function __toString()
|
|
{
|
|
return (string) $this->getValue();
|
|
}
|
|
|
|
public function __construct()
|
|
{
|
|
$this->setClassKey('Trinity\Bundle\NewsletterBundle\Model\Block')
|
|
->setTemplate('TrinityNewsletterBundle:Block:block_text.html.twig')
|
|
;
|
|
}
|
|
}
|