Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

laravel enum

return [
    'phone_types' => [
        'CELL' => "Cellular",
        'HOME' => "Home",
        'WORK' => "Work",
    ]
];
config('enums.phone_types')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #enum
ADD COMMENT
Topic
Name
7+3 =