Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

blade switch

@switch($i)
    @case(1)
        First case...
        @break

    @case(2)
        Second case...
        @break

    @default
        Default case...
@endswitch
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #blade #switch
ADD COMMENT
Topic
Name
7+3 =