您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

SectionSolver.php 330B

123456789101112131415
  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 isSectionCommon(SectionInterface $section)
  8. {
  9. return $section->getDevAlias() == SectionModel::DEVALIAS_COMMON;
  10. }
  11. }