Completed
Push — master ( 1910c5...2d50e1 )
by Basil
53:47
created

FoodEstablishmentTrait::getAcceptsReservations()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace luya\web\jsonld;
4
5
/**
6
 * Food Establishment Trait.
7
 * 
8
 * @author Basil Suter <[email protected]>
9
 * @since 1.0.14
10
 */
11
trait FoodEstablishmentTrait
12
{
13
    private $_acceptsReservations;
14
15
    /**
16
     * Accepts Reservations
17
     *
18
     * @param string $acceptsReservations
19
     * @return static
20
     */
21
    public function setAcceptsReservations($acceptsReservations)
22
    {
23
        $this->_acceptsReservations = $acceptsReservations;
24
        return $this;
25
    }
26
27
    /**
28
     * Get Accepts Reserverations
29
     *
30
     * @return string
31
     */
32
    public function getAcceptsReservations()
33
    {
34
        return $this->_acceptsReservations;
35
    }
36
37
    private $_hasMenu;
38
39
    /**
40
     * Set has menu
41
     *
42
     * @param string $hasMenu
43
     * @return static
44
     */
45
    public function setHasMenu($hasMenu)
46
    {
47
        $this->_hasMenu = $hasMenu;
48
        return $this;
49
    }
50
51
    /**
52
     * Get Has menu
53
     *
54
     * @return string
55
     */
56
    public function getHasMenu()
57
    {
58
        return $this->_hasMenu;
59
    }
60
61
    private $_servesCuisine;
62
63
    /**
64
     * Set Serves Cuisine
65
     *
66
     * @param string $servesCuisine
67
     * @return static
68
     */
69
    public function setServesCuisine($servesCuisine)
70
    {
71
        $this->_servesCuisine = $servesCuisine;
72
        return $this;
73
    }
74
75
    /**
76
     * Get serves Cuisine
77
     *
78
     * @return string
79
     */
80
    public function getServesCuisine()
81
    {
82
        return $this->_servesCuisine;
83
    }
84
85
    private $_starRating;
86
87
    /**
88
     * Set Star Rating
89
     *
90
     * @param Rating $rating
91
     * @return static
92
     */
93
    public function setStarRating(Rating $rating)
94
    {
95
        $this->_starRating = $rating;
96
        return $this;
97
    }
98
99
    /**
100
     * Get Star Rating
101
     *
102
     * @return Rating
103
     */
104
    public function getStarRating()
105
    {
106
        return $this->_starRating;
107
    }
108
}