Code Context
switch ($business->business_category['name']) {
case 'Lodging':
$business = object(App\Model\Entity\Business) {
'id' => (int) 10168,
'parent_business_id' => null,
'listing_type_id' => (int) 1,
'name' => 'Paula LeDuc Fine Catering',
'name_canonical' => 'Paula LeDuc Fine Catering',
'email' => '',
'email_partner_account' => null,
'experience_vendor_description' => null,
'email_experiences' => null,
'logo_url' => '',
'phone_direct' => '888.443.4498',
'phone_toll_free' => '',
'description_long' => '<p><br></p>',
'description_short' => 'Specializing in converting the ordinary into the magical. From casual picnics to luxurious formal weddings and events, these exceptional professionals will share their expertise in the finer things in life, including distinguished venues and cuisine. ',
'description_long_sonoma' => null,
'description_short_sonoma' => null,
'description_long_winecountry' => null,
'description_short_winecountry' => null,
'perks_description_text' => null,
'perks_main_html' => null,
'perks_secondary_html' => null,
'legacy_html' => '<p><br></p>',
'homepage_url' => '',
'priceline_id' => null,
'review_count' => null,
'review_rating' => null,
'address' => 'Serving the Napa Valley',
'city' => 'Napa',
'state_id' => (int) 6,
'zip' => '94559',
'country_code' => 'US',
'latitude' => (float) 38.2979191,
'longitude' => (float) -122.2862971,
'placement_priority' => null,
'placement_priority_randomizer' => (float) 0,
'facebook_url' => '',
'twitter_url' => '',
'pinterest_handle' => '',
'yelp_id' => '',
'yelp_business_id' => '',
'yelp_url' => '',
'youtube_url' => '',
'tripadvisor_url' => '',
'business_rating_id' => (int) 0,
'business_venue_capacity_id' => null,
'is_handicap_access' => false,
'is_pet_friendly' => false,
'highlight_html' => '<p><br></p>',
'business_category_id' => null,
'reservation_url' => '',
'is_smoking_prohibited' => false,
'is_hot_tub' => false,
'is_sauna' => false,
'is_whirlpool_tub' => false,
'is_private_balcony' => false,
'is_views' => false,
'is_children_ok' => false,
'is_meeting_facilities' => null,
'is_wedding_facilities' => null,
'is_restaurant' => false,
'is_tennis' => false,
'is_hiking' => false,
'is_pool' => false,
'is_fireplaces' => false,
'is_spa_facilities' => false,
'is_senior_rates' => false,
'is_wine_reception' => false,
'is_air_conditioning' => false,
'business_price_id' => null,
'minimum_price' => null,
'is_open_breakfast' => false,
'is_open_dinner' => false,
'hours_open' => '',
'architect_name' => '',
'num_holes' => null,
'par' => null,
'green_fees' => '',
'yards_men' => null,
'yards_women' => null,
'usga_rating' => '',
'wine_club_url' => '',
'buy_wine_url' => '',
'status_text' => null,
'featured_html' => null,
'video_html' => null,
'video_caption' => null,
'experience_product_id' => null,
'onsite_business_ids' => null,
'onsite_deal_ids' => null,
'nearby_business_ids' => null,
'insider_tips_text' => null,
'amenities_description' => null,
'region_id' => null,
'is_moderated' => false,
'is_direct_link' => null,
'is_covet_pass_featured' => null,
'tock_name' => null,
'created' => object(Cake\I18n\FrozenTime) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'media' => [],
'deals' => [],
'tags' => [
(int) 0 => object(App\Model\Entity\Tag) {}
],
'listing_type' => object(App\Model\Entity\ListingType) {},
'business_venue_capacity' => null,
'business_category' => null,
'business_price' => null,
'business_reviews' => [],
'business_rating' => null,
'state' => object(App\Model\Entity\State) {},
'parent_business' => null,
'is_premier' => false,
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'is_premier' => true
],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Businesses'
}
$headers = []
$sections = []
$custom = []
$business_tag_names = [
(int) 0 => 'napa-valley'
]App\Model\Table\BusinessesTable::addHighlights() - APP/Model/Table/BusinessesTable.php, line 797
App\Controller\BusinessesController::view() - APP/Controller/BusinessesController.php, line 451
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 606
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 133
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 170
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 100
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65