You've already forked php-flasher
mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-04-05 12:32:55 +01:00
24 lines
399 B
PHP
24 lines
399 B
PHP
<?php
|
|
|
|
namespace Flasher\Prime\Renderer;
|
|
|
|
use Flasher\Prime\Envelope;
|
|
|
|
interface RendererInterface
|
|
{
|
|
/**
|
|
* @param Envelope $envelope
|
|
*
|
|
* @return string
|
|
*/
|
|
public function render(Envelope $envelope);
|
|
|
|
/**
|
|
* @param string $name
|
|
* @param array $context
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function supports($name = null, array $context = array());
|
|
}
|