📅  最后修改于: 2022-03-11 14:54:29.035000             🧑  作者: Mango
Blade::directive('custom', function ($expression) {
$params = explode(',', $expression);
list($param1, $param2, $param3) = $params;
// Great coding stuff here
});