src/Zicht/Bundle/UrlBundle/Aliasing/Aliasing.php
public static function validatePublicConflictingStrategy($conflictingPublicUrlStrategy)
    {
        if (!in_array($conflictingPublicUrlStrategy, [self::STRATEGY_KEEP, self::STRATEGY_OVERWRITE, self::STRATEGY_SUFFIX])) {
            throw new \InvalidArgumentException("Invalid \$conflictingPublicUrlStrategy '$conflictingPublicUrlStrategy'");
        }
    }
public static function validatePublicConflictingStrategy($conflictingPublicUrlStrategy)
    {
        if (!in_array($conflictingPublicUrlStrategy, [self::STRATEGY_KEEP, self::STRATEGY_OVERWRITE, self::STRATEGY_SUFFIX])) {
            throw new \InvalidArgumentException("Invalid \$conflictingPublicUrlStrategy '$conflictingPublicUrlStrategy'");
        }
    }
public static function validatePublicConflictingStrategy ( $ conflictingPublicUrlStrategy ) { if ( ! in_array ( $ conflictingPublicUrlStrategy , [ self :: STRATEGY_KEEP , self :: STRATEGY_OVERWRITE , self :: STRATEGY_SUFFIX ] ) ) { throw new \ InvalidArgumentException ( "Invalid \$conflictingPublicUrlStrategy '$conflictingPublicUrlStrategy'" ) ; } }
Assert if the strategy is ok when the public url already exists.

@param string $conflictingPublicUrlStrategy
@return void
Assert if the strategy is ok when the public url already exists .