bundles/BlockManagerBundle/DependencyInjection/NetgenBlockManagerExtension.php
private function validateCurrentDesign(string $currentDesign, array $designList): void
    {
        if ($currentDesign !== 'standard' && !in_array($currentDesign, $designList, true)) {
            throw new InvalidConfigurationException(
                sprintf(
                    'Design "%s" does not exist. Available designs are: %s',
                    $currentDesign,
                    implode(', ', $designList)
                )
            );
        }
    }
private function validateCurrentDesign(string $currentDesign, array $designList): void
    {
        if ($currentDesign !== 'standard' && !in_array($currentDesign, $designList, true)) {
            throw new InvalidConfigurationException(
                sprintf(
                    'Design "%s" does not exist. Available designs are: %s',
                    $currentDesign,
                    implode(', ', $designList)
                )
            );
        }
    }
private function validateCurrentDesign ( string $ currentDesign , array $ designList ) : void { if ( $ currentDesign !== 'standard' && ! in_array ( $ currentDesign , $ designList , true ) ) { throw new InvalidConfigurationException ( sprintf ( 'Design "%s" does not exist. Available designs are: %s' , $ currentDesign , implode ( ', ' , $ designList ) ) ) ; } }
Validates that the design specified in configuration exists in the system.

@throws \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException If design does not exist
Validates that the design specified in configuration exists in the system .