Jake Vanderwerf
23 hours ago f4be611c51473359e6d41780f0313c446079e9d3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?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',
        ];
    }
}