@@ -11,6 +11,9 @@ |
||
11 | 11 | return $contenu; |
12 | 12 | } |
13 | 13 | |
14 | + /** |
|
15 | + * @param string $contenu |
|
16 | + */ |
|
14 | 17 | public function remplacerLesCaracteresSpeciaux($contenu) |
15 | 18 | { |
16 | 19 | // Gestion des accents. |
@@ -15,7 +15,7 @@ |
||
15 | 15 | { |
16 | 16 | $html = <<<'EOF' |
17 | 17 | <html><style>background-color:black;</style><body><div style="text-align:center;">{{prenom|capitalize}}</div>Ceci[@e] est mon <span class="bold">contenu</span>. <p class="text-faded">Design and code an email that <strong>works on every device</strong> and client is a huge and <strong>demanding work</strong> also for professionals.<br>Mosaico allows you to realize <strong>a beautiful and effective template</strong>,<br> without a <strong>team of professionals</strong> and hours of testing to let it works everywhere.</p> Vous pouvez le télécharger <a href="http://google.com/test.php">ici</a></body></html> |
18 | -EOF; |
|
18 | +eof; |
|
19 | 19 | /** @var \Starkerxp\CampagneBundle\Render\RenderManager $renderManager */ |
20 | 20 | $renderManager = $this->get('starkerxp_campagne.manager.render'); |
21 | 21 | $renderManager->setData(['prenom' => 'guillaume']); |
@@ -6,7 +6,7 @@ |
||
6 | 6 | /** |
7 | 7 | * @var Composer\Autoload\ClassLoader $loader |
8 | 8 | */ |
9 | -$loader = require __DIR__ . '/../app/autoload.php'; |
|
9 | +$loader = require __DIR__.'/../app/autoload.php'; |
|
10 | 10 | Debug::enable(); |
11 | 11 | |
12 | 12 | $kernel = new AppKernel('test', true); |
@@ -138,7 +138,7 @@ |
||
138 | 138 | return $this->repository; |
139 | 139 | } |
140 | 140 | |
141 | - public function clear(){ |
|
141 | + public function clear() { |
|
142 | 142 | $this->entityManager->clear(); |
143 | 143 | } |
144 | 144 |