There was an error while loading. Please reload this page.
1 parent 0d0ff21 commit d312b1aCopy full SHA for d312b1a
1 file changed
src/Application/Attributes/TemplateVariable.php
@@ -0,0 +1,21 @@
1
+<?php
2
+
3
+/**
4
+ * This file is part of the Nette Framework (https://nette.org)
5
+ * Copyright (c) 2004 David Grudl (https://davidgrudl.com)
6
+ */
7
8
+declare(strict_types=1);
9
10
+namespace Nette\Application\Attributes;
11
12
+use Attribute;
13
14
15
16
+ * Marks property to be automatically passed as variable to template.
17
18
+#[Attribute(Attribute::TARGET_PROPERTY)]
19
+final class TemplateVariable
20
+{
21
+}
0 commit comments