* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShopBundle\Routing\Linter; use PrestaShopBundle\Routing\Linter\Exception\LinterException; use Symfony\Component\Routing\Route; /** * Interface for service that performs linting on route */ interface RouteLinterInterface { /** * @param Route $route * * @throws LinterException when linting error occurs */ public function lint($routeName, Route $route); }