src/Zicht/Bundle/UrlBundle/Aliasing/Aliasing.php
public static function validateInternalConflictingStrategy($conflictingInternalUrlStrategy)
    {
        if (!in_array($conflictingInternalUrlStrategy, [self::STRATEGY_IGNORE, self::STRATEGY_MOVE_PREVIOUS_TO_NEW, self::STRATEGY_MOVE_NEW_TO_PREVIOUS])) {
            throw new \InvalidArgumentException("Invalid \$conflictingInternalUrlStrategy '$conflictingInternalUrlStrategy'");
        }
    }
public static function validateInternalConflictingStrategy($conflictingInternalUrlStrategy)
    {
        if (!in_array($conflictingInternalUrlStrategy, [self::STRATEGY_IGNORE, self::STRATEGY_MOVE_PREVIOUS_TO_NEW, self::STRATEGY_MOVE_NEW_TO_PREVIOUS])) {
            throw new \InvalidArgumentException("Invalid \$conflictingInternalUrlStrategy '$conflictingInternalUrlStrategy'");
        }
    }
public static function validateInternalConflictingStrategy ( $ conflictingInternalUrlStrategy ) { if ( ! in_array ( $ conflictingInternalUrlStrategy , [ self :: STRATEGY_IGNORE , self :: STRATEGY_MOVE_PREVIOUS_TO_NEW , self :: STRATEGY_MOVE_NEW_TO_PREVIOUS ] ) ) { throw new \ InvalidArgumentException ( "Invalid \$conflictingInternalUrlStrategy '$conflictingInternalUrlStrategy'" ) ; } }
Assert if the strategy is ok when the internal url already has a public url.

@param string $conflictingInternalUrlStrategy
@return void
Assert if the strategy is ok when the internal url already has a public url .