Skip to content

Commit

Permalink
TemplatePrint 3.0.13 WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Dec 15, 2023
1 parent 40c3abe commit cb5afc6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 66 deletions.
10 changes: 10 additions & 0 deletions src/Bridges/ApplicationLatte/DefaultTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

namespace Nette\Bridges\ApplicationLatte;

use Latte;
use Nette;


Expand Down Expand Up @@ -53,4 +54,13 @@ public function setParameters(array $params): static
{
return Nette\Utils\Arrays::toObject($params, $this);
}


/**
* Generates blueprint of template data class.
*/
public function blueprint(?string $parentClass = null): void
{
Latte\Essential\Blueprint::printClass($this->getParameters(), $parentClass);
}
}
65 changes: 0 additions & 65 deletions src/Bridges/ApplicationLatte/Nodes/TemplatePrintNode.php

This file was deleted.

1 change: 0 additions & 1 deletion src/Bridges/ApplicationLatte/UIExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public function getTags(): array
'plink' => Nodes\LinkNode::create(...),
'link' => Nodes\LinkNode::create(...),
'ifCurrent' => Nodes\IfCurrentNode::create(...),
'templatePrint' => Nodes\TemplatePrintNode::create(...),
'snippet' => Nodes\SnippetNode::create(...),
'snippetArea' => Nodes\SnippetAreaNode::create(...),
'layout' => $this->createExtendsNode(...),
Expand Down

0 comments on commit cb5afc6

Please sign in to comment.