Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

AutoMappingStrategy.php

Namespace

Symfony\Component\Validator\Mapping

File

vendor/symfony/validator/Mapping/AutoMappingStrategy.php

View source
<?php


/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace Symfony\Component\Validator\Mapping;


/**
 * Specifies how the auto-mapping feature should behave.
 *
 * @author Maxime Steinhausser <maxime.steinhausser@gmail.com>
 */
final class AutoMappingStrategy {
    
    /**
     * Nothing explicitly set, rely on auto-mapping configured regex.
     */
    public const NONE = 0;
    
    /**
     * Explicitly enabled.
     */
    public const ENABLED = 1;
    
    /**
     * Explicitly disabled.
     */
    public const DISABLED = 2;
    
    /**
     * Not instantiable.
     */
    private function __construct() {
    }

}

Classes

Title Deprecated Summary
AutoMappingStrategy Specifies how the auto-mapping feature should behave.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal