You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 satır
384B

  1. <?php
  2. namespace Lc\CaracoleBundle\Solver\Section;
  3. class SectionSolver
  4. {
  5. // @TODO : à voir si pertinent
  6. public function getNewsletter()
  7. {
  8. $newsletters = $this->getNewsletters();
  9. foreach ($newsletters as $newsletter) {
  10. if ($newsletter->getIsMain()) {
  11. return $newsletter;
  12. }
  13. }
  14. return false;
  15. }
  16. }