Skip to content

Instantly share code, notes, and snippets.

@ADmad
Created June 17, 2017 14:55
Show Gist options
  • Save ADmad/b230fd5b550e3564dab2dffd16079bf9 to your computer and use it in GitHub Desktop.
Save ADmad/b230fd5b550e3564dab2dffd16079bf9 to your computer and use it in GitHub Desktop.
<?php
namespace App\Enum;
class RecreationalFacilities extends Enum
{
const WATER_SPORTS = 1;
const ADVENTURE_ACTIVITIES = 2;
const BONFIRE = 3;
const STEAM_SAUNA_JACUZZI = 4;
const CASINO = 5;
const BEACH_FRONT = 6;
const BBQ_FACILITY = 7;
const GOLF_COURSE = 8;
const GAMES = 9;
const BALCONY = 10;
const GOLF = 11;
protected static $_options = [
self::WATER_SPORTS => 'Water Sports',
self::ADVENTURE_ACTIVITIES => 'Adventure Activities',
self::BONFIRE => 'Bonfire ',
self::STEAM_SAUNA_JACUZZI => 'Steam / Sauna / Jacuzzi',
self::CASINO => 'Casino',
self::BEACH_FRONT => 'Beach Front ',
self::BBQ_FACILITY => 'Golf Course',
self::BBQ_FACILITY => 'BBQ Facility',
self::GAMES => 'Games ',
self::BALCONY => 'Balcony',
self::GOLF => 'Golf',
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment