File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ /**
4+ * This file is part of Nepttune (https://www.peldax.com)
5+ *
6+ * Copyright (c) 2018 Václav Pelíšek (info@peldax.com)
7+ *
8+ * This software consists of voluntary contributions made by many individuals
9+ * and is licensed under the MIT license. For more information, see
10+ * <https://www.peldax.com>.
11+ */
12+
13+ declare (strict_types = 1 );
14+
15+ namespace Nepttune \Component ;
16+
17+ final class Security extends BaseComponent
18+ {
19+ /** @var array */
20+ private $ security ;
21+
22+ public function __construct (array $ security )
23+ {
24+ parent ::__construct ();
25+
26+ $ this ->security = $ security ;
27+ }
28+ protected function beforeRender () : void
29+ {
30+ $ this ->template ->security = $ this ->security ;
31+ }
32+ }
You can’t perform that action at this time.
0 commit comments