woocommerce
/
packages
/
email-editor
/
src
/
Engine
/
Renderer
/
ContentRenderer
/
class-block-renderer.php
Layout
1 month ago
Postprocessors
9 months ago
Preprocessors
1 month ago
class-block-renderer.php
11 months ago
class-blocks-parser.php
1 year ago
class-content-renderer.php
1 month ago
class-preset-variable-resolver.php
2 months ago
class-process-manager.php
1 month ago
class-rendering-context.php
1 month ago
content.css
1 year ago
class-block-renderer.php
25 lines
| 1 | <?php |
| 2 | /** |
| 3 | * This file is part of the WooCommerce Email Editor package |
| 4 | * |
| 5 | * @package Automattic\WooCommerce\EmailEditor |
| 6 | */ |
| 7 | |
| 8 | declare(strict_types = 1); |
| 9 | namespace Automattic\WooCommerce\EmailEditor\Engine\Renderer\ContentRenderer; |
| 10 | |
| 11 | /** |
| 12 | * Interface Block_Renderer |
| 13 | */ |
| 14 | interface Block_Renderer { |
| 15 | /** |
| 16 | * Renders the block content |
| 17 | * |
| 18 | * @param string $block_content Block content. |
| 19 | * @param array $parsed_block Parsed block. |
| 20 | * @param Rendering_Context $rendering_context Rendering context. |
| 21 | * @return string |
| 22 | */ |
| 23 | public function render( string $block_content, array $parsed_block, Rendering_Context $rendering_context ): string; |
| 24 | } |
| 25 |