<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait hasDriveThroughServiceTrait {
|
/**
|
* @var bool Indicates whether some facility (e.g. FoodEstablishment, CovidTestingFacility) offers a service that can be used by driving through in a car. In the case of CovidTestingFacility such facilities could potentially help with social distancing from other potentially-infected users.
|
*/
|
protected bool $hasDriveThroughService;
|
|
public function getHasDriveThroughService():?bool
|
{
|
return $this->hasDriveThroughService??null;
|
}
|
public function setHasDriveThroughService(bool $hasDriveThroughService):void
|
{
|
$this->hasDriveThroughService = $hasDriveThroughService;
|
}
|
|
public function getHasDriveThroughServiceFieldConfig():array
|
{
|
return [
|
'type' => 'true_false',
|
'label' => 'Has Drive Through Service',
|
];
|
}
|
}
|