Interface luya\web\jsonld\FoodEstablishmentInterface
| Implemented by | luya\web\jsonld\BarOrPub, luya\web\jsonld\CafeOrCoffeeShop, luya\web\jsonld\FoodEstablishment, luya\web\jsonld\Restaurant |
|---|---|
| Available since version | 1.0.14 |
| Source Code | https://github.com/luyadev/luya/blob/master/core/web/jsonld/FoodEstablishmentInterface.php |
Food Establishment Interface
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getAcceptsReservations() | Get Accepts Reserverations | luya\web\jsonld\FoodEstablishmentInterface |
| getHasMenu() | Get Has menu | luya\web\jsonld\FoodEstablishmentInterface |
| getServesCuisine() | Get serves Cuisine | luya\web\jsonld\FoodEstablishmentInterface |
| getStarRating() | Get Star Rating | luya\web\jsonld\FoodEstablishmentInterface |
| setAcceptsReservations() | Accepts Reservations | luya\web\jsonld\FoodEstablishmentInterface |
| setHasMenu() | Set has menu | luya\web\jsonld\FoodEstablishmentInterface |
| setServesCuisine() | Set Serves Cuisine | luya\web\jsonld\FoodEstablishmentInterface |
| setStarRating() | Set Star Rating | luya\web\jsonld\FoodEstablishmentInterface |
Method Details
Get Accepts Reserverations
| public abstract string getAcceptsReservations ( ) |
public function getAcceptsReservations();
Get Star Rating
| public abstract luya\web\jsonld\Rating getStarRating ( ) |
public function getStarRating();
Accepts Reservations
| public abstract static setAcceptsReservations ( $acceptsReservations ) | ||
| $acceptsReservations | string | |
public function setAcceptsReservations($acceptsReservations);
Set has menu
| public abstract static setHasMenu ( $hasMenu ) | ||
| $hasMenu | string | |
public function setHasMenu($hasMenu);
Set Serves Cuisine
| public abstract static setServesCuisine ( $servesCuisine ) | ||
| $servesCuisine | string | |
public function setServesCuisine($servesCuisine);
Set Star Rating
| public abstract static setStarRating ( luya\web\jsonld\Rating $rating ) | ||
| $rating | luya\web\jsonld\Rating | |
public function setStarRating(Rating $rating);