public static function createLayoutFactoryBuilder()
    {
        $builder = new LayoutFactoryBuilder(
            new ExpressionProcessor(
                new ExpressionLanguage(),
                new ExpressionEncoderRegistry(
                    [
                        'json' => new JsonExpressionEncoder(new ExpressionManipulator())
                    ]
                )
            )
        );

        $builder->addExtension(new CoreExtension());

        return $builder;
    }
public static function createLayoutFactoryBuilder()
    {
        $builder = new LayoutFactoryBuilder(
            new ExpressionProcessor(
                new ExpressionLanguage(),
                new ExpressionEncoderRegistry(
                    [
                        'json' => new JsonExpressionEncoder(new ExpressionManipulator())
                    ]
                )
            )
        );

        $builder->addExtension(new CoreExtension());

        return $builder;
    }
public static function createLayoutFactoryBuilder ( ) { $ builder = new LayoutFactoryBuilder ( new ExpressionProcessor ( new ExpressionLanguage ( ) , new ExpressionEncoderRegistry ( [ 'json' => new JsonExpressionEncoder ( new ExpressionManipulator ( ) ) ] ) ) ) ; $ builder -> addExtension ( new CoreExtension ( ) ) ; return $ builder ; }
Creates a layout factory builder with the default configuration.

@return LayoutFactoryBuilderInterface
Creates a layout factory builder with the default configuration .