|
|
|
|
|
|
|
|
if (isset($requestAttributesArray['section'])) { |
|
|
if (isset($requestAttributesArray['section'])) { |
|
|
$sectionCurrent = $sectionStore |
|
|
$sectionCurrent = $sectionStore |
|
|
->setMerchant($merchantCurrent) |
|
|
->setMerchant($merchantCurrent) |
|
|
->getOneBySlug($requestAttributesArray['section']); |
|
|
|
|
|
|
|
|
->getOneBySlug($requestAttributesArray['section'], false); |
|
|
if($sectionCurrent===null){ |
|
|
if($sectionCurrent===null){ |
|
|
throw new NotFoundHttpException('Aucun espace n\'a été trouvé'); |
|
|
throw new NotFoundHttpException('Aucun espace n\'a été trouvé'); |
|
|
} |
|
|
} |