Skip to content

Commit

Permalink
feat: add shortcut for attached views
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Oct 10, 2024
1 parent b887f2c commit ea4fac9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ public function __unset($name)
Config::remove($name);
}

public function __call($method, $args)
{
return Config::view($method);
}

/**
* Configure Leaf Settings
*
Expand Down

0 comments on commit ea4fac9

Please sign in to comment.