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.

SectionSolver.php 389B

3 yıl önce
3 yıl önce
1234567891011121314151617
  1. <?php
  2. namespace Lc\CaracoleBundle\Solver\Section;
  3. use Lc\CaracoleBundle\Model\Section\SectionInterface;
  4. use Lc\CaracoleBundle\Model\Section\SectionModel;
  5. class SectionSolver
  6. {
  7. public function getHtmlClass(?SectionInterface $section): string
  8. {
  9. $htmlClass = 'section-';
  10. $htmlClass .= $section ? $section->getDevAlias() : 'all';
  11. return $htmlClass;
  12. }
  13. }