Skip to content

Commit ea4fac9

Browse files
committed
feat: add shortcut for attached views
1 parent b887f2c commit ea4fac9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/App.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,11 @@ public function __unset($name)
132132
Config::remove($name);
133133
}
134134

135+
public function __call($method, $args)
136+
{
137+
return Config::view($method);
138+
}
139+
135140
/**
136141
* Configure Leaf Settings
137142
*

0 commit comments

Comments
 (0)