Trait luya\web\jsonld\FoodEstablishmentTrait

Implemented byluya\web\jsonld\BarOrPub, luya\web\jsonld\CafeOrCoffeeShop, luya\web\jsonld\FoodEstablishment, luya\web\jsonld\Restaurant
Available since version1.0.14

Food Establishment Trait.

Method Details

Hide inherited methods

getAcceptsReservations() public method

Get Accepts Reserverations

public string getAcceptsReservations ( )

                public function getAcceptsReservations()
{
    return $this->_acceptsReservations;
}

            
getHasMenu() public method

Get Has menu

public string getHasMenu ( )

                public function getHasMenu()
{
    return $this->_hasMenu;
}

            
getServesCuisine() public method

Get serves Cuisine

public string getServesCuisine ( )

                public function getServesCuisine()
{
    return $this->_servesCuisine;
}

            
getStarRating() public method

Get Star Rating

public luya\web\jsonld\Rating getStarRating ( )

                public function getStarRating()
{
    return $this->_starRating;
}

            
setAcceptsReservations() public method

Accepts Reservations

public static setAcceptsReservations ( $acceptsReservations )
$acceptsReservations string

                public function setAcceptsReservations($acceptsReservations)
{
    $this->_acceptsReservations = $acceptsReservations;
    return $this;
}

            
setHasMenu() public method

Set has menu

public static setHasMenu ( $hasMenu )
$hasMenu string

                public function setHasMenu($hasMenu)
{
    $this->_hasMenu = $hasMenu;
    return $this;
}

            
setServesCuisine() public method

Set Serves Cuisine

public static setServesCuisine ( $servesCuisine )
$servesCuisine string

                public function setServesCuisine($servesCuisine)
{
    $this->_servesCuisine = $servesCuisine;
    return $this;
}

            
setStarRating() public method

Set Star Rating

public static setStarRating ( luya\web\jsonld\Rating $rating )
$rating luya\web\jsonld\Rating

                public function setStarRating(Rating $rating)
{
    $this->_starRating = $rating;
    return $this;
}