Class Kitab\Compiler\Target\Templater
class Templater
{
public function __construct(string $in, Hoa\Stream\IStream\Out $out, Hoa\Router\Router $router, StdClass $data);
public function getOutputStream(): Hoa\Stream\IStream\Out;
public function getData(): StdClass;
public function render();
public function getRouter();
public function import(string $template, StdClass $data);
}
Attributes
protected $_in = null;
-
protected $_out = null;
-
protected $_data = null;
-
protected $_router = null;
-
Methods
-
public function __construct(string $in, Hoa\Stream\IStream\Out $out, Hoa\Router\Router $router, StdClass $data)
-
-
public function getOutputStream(): Hoa\Stream\IStream\Out
-
-
public function getData(): StdClass
-
-
public function render()
-
-
public function getRouter()
-
-
public function import(string $template, StdClass $data)
-
Interfaces
interface Hoa\View\Viewable
- …