-
Notifications
You must be signed in to change notification settings - Fork 33
Helpers
Denis Duliçi edited this page Nov 19, 2019
·
2 revisions
The package comes with some useful helpers such as:
You can get the module instance using the following snippet:
$module = module('my-blog');
You can get the module path using the following snippet:
$module_path = module_path('my-blog');
You can get the config path using the following snippet:
$config_path = config_path('my-blog');
You can get the public path using the following snippet:
$public_path = public_path('my-blog');