* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ declare(strict_types=1); namespace PrestaShopBundle\Bridge\AdminController; use PrestaShopBundle\Security\Admin\Employee; use Shop; use Symfony\Component\OptionsResolver\OptionsResolver; /** * This object holds the configuration of a Controller that is being migrated horizontally. * Its properties reflect the properties of a legacy PrestaShop controller. */ class ControllerConfiguration { /** * Identifier of tab related to this configuration (tab is considered a single page and all of them are registered in database). * * @see AdminController::$id * * @var int */ public $tabId; /** * ClassName of related object model. E.g. "Feature", "Category", "Product" etc. * * @see AdminController::$className * * @var string */ public $objectModelClassName; /** * The name of related legacy AdminController without "controller" suffix (e.g. AdminFeatures). * * @see AdminController::$controller_name * * @var string */ public $legacyControllerName; /** * Url referring to related legacy page (e.g. http://prestashop.local/admin-dev/index.php?controller=AdminFeatures&token=fooBar). * * @see AdminController::$currentIndex * * @var string */ public $legacyCurrentIndex; /** * Name of field by which position is supposed to be identified (usually it is the id field e.g. id_feature). * Leave NULL to disable the positioning feature * * @see AdminController::$position_identifier * * @var string|null */ public $positionIdentifierKey; /** * Name of the related database table * * @see AdminController::$table * * @var string */ public $tableName; /** * Security token * * @see AdminController::$token * * @var string|null */ public $token; /** * Meta title of single language if it is a string * or array of localized meta title values where index is the id of the language. * * Rendered in
->