laravel add function to controller code example
Example: How to use function in controller in blade
{{ ControllerName::Functionname($params); }}
OR
<?php echo ControllerName::Functionname($params);?>
{{ ControllerName::Functionname($params); }}
OR
<?php echo ControllerName::Functionname($params);?>