| 1 |
<?php |
| 2 |
namespace Photonic_Plugin\Components; |
| 3 |
|
| 4 |
use Photonic_Plugin\Layouts\Core_Layout; |
| 5 |
use Photonic_Plugin\Platforms\Base; |
| 6 |
|
| 7 |
/** |
| 8 |
* Interface Printable |
| 9 |
* Represents a printable component in a Photonic gallery. |
| 10 |
* |
| 11 |
* @package Photonic_Plugin\Components |
| 12 |
*/ |
| 13 |
interface Printable { |
| 14 |
/** |
| 15 |
* Generates and prints the markup for a Photonic component |
| 16 |
* |
| 17 |
* @param Base $module |
| 18 |
* @param Core_Layout $layout |
| 19 |
* @param bool $print |
| 20 |
* @return mixed |
| 21 |
*/ |
| 22 |
public function html(Base $module, Core_Layout $layout, bool $print = false): string; |
| 23 |
} |
| 24 |
|