Skip to content

Commit

Permalink
Add Empty Private State for Extension(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Feb 5, 2024
1 parent b1e8fc0 commit d8fb950
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ function route($content, $path) {

namespace x\layout\content {
function state() {
\State::set('[x]', []);
foreach (['are', 'as', 'can', 'has', 'is', 'not', 'of', 'with'] as $v) {
foreach ((array) \State::get($v, true) as $kk => $vv) {
\State::set('[y].' . $v . ':' . $kk, $vv);
Expand Down

0 comments on commit d8fb950

Please sign in to comment.