symfony-doge/veslo

View on GitHub
src/AnthillBundle/Enum/Route.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

/*
 * This file is part of the Veslo project <https://github.com/symfony-doge/veslo>.
 *
 * (C) 2019 Pavel Petrov <itnelo@gmail.com>.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * @license https://opensource.org/licenses/GPL-3.0 GPL-3.0
 */

declare(strict_types=1);

namespace Veslo\AnthillBundle\Enum;

/**
 * Dictionary of bundle routes for requests
 */
final class Route
{
    /**
     * Vacancy list action
     *
     * @const string
     */
    public const VACANCY_LIST_PAGE = 'anthill_vacancy_list_page';

    /**
     * Vacancy list by category action
     *
     * @const string
     */
    public const VACANCY_LIST_BY_CATEGORY = 'anthill_vacancy_list_by_category';

    /**
     * Vacancy list by category action with page
     *
     * @const string
     */
    public const VACANCY_LIST_BY_CATEGORY_PAGE = 'anthill_vacancy_list_by_category_page';

    /**
     * Vacancy archive action
     *
     * @const string
     */
    public const VACANCY_ARCHIVE = 'anthill_vacancy_archive';

    /**
     * Vacancy archive action with page
     *
     * @const string
     */
    public const VACANCY_ARCHIVE_PAGE = 'anthill_vacancy_archive_page';

    /**
     * Vacancy show action
     *
     * @const string
     */
    public const VACANCY_SHOW = 'anthill_vacancy_show';
}