Wykonaj parametry Dyrektywa Blade 2

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

    // Great coding stuff here
});
Written Sigh