Initial Drupal 11 with DDEV setup
This commit is contained in:
		
							
								
								
									
										42
									
								
								vendor/symfony/validator/Mapping/AutoMappingStrategy.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								vendor/symfony/validator/Mapping/AutoMappingStrategy.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,42 @@
 | 
			
		||||
<?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()
 | 
			
		||||
    {
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user