Answers for "make blade directive 2 parameters"

PHP
0

make blade directive 2 parameters

Blade::directive('custom', function ($expression) {
    $params = explode(',', $expression);
    list($param1, $param2, $param3) = $params;

    // Great coding stuff here
});
Posted by: Guest on January-05-2021

Code answers related to "make blade directive 2 parameters"

Browse Popular Code Answers by Language