<?php namespace Lc\CaracoleBundle\Solver\Section; use Lc\CaracoleBundle\Model\Section\SectionInterface; use Lc\CaracoleBundle\Model\Section\SectionModel; class SectionSolver { public function isSectionCommon(SectionInterface $section) { return $section->getDevAlias() == SectionModel::DEVALIAS_COMMON; } }