-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I think we can handle the logic for a custom model by adding trait in the model.
example:
instead of using the package in the follwing way
$instance = (new \SOS\RelationalMetrics\Classes\RelationalMetrics("Store"));
$metrics = $instance->getBasicMetrics();
we can get the same result as this example:
$metrics = Store::getBasicMetrics();
and the getBasicMetrics
function should be able to call statically or from a new instance of the model
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request