}
public static function SetObject($key, $var, $expire = 86400) {
return static::Set($key, serialize($var), $expire);
}
public static function SetArray($key, $var, $expire = 86400) {
return static::Set($key, serialize($var), $expire);
}
public static function SetBoolean($key, $var, $expire = 86400) {
return static::Set($key, serialize($var), $expire);
}
public static function Set($key, $var, $expire = 86400) {
App::debugbarLog('debug', "Cache set: $key");
if ($i = static::getInstance()) {
$var = static::beforeSet($var);
return $expire > 0?
$i->setEx($key, $expire, $var) :
$i->set($key, $var);
}
return null;
}
public static function Exists(...$key):?bool {
if ($i = static::getInstance()) {
return $i->exists($key);
}
return null;
}
public static function Expire($key, $ttl) {
if ($i = static::getInstance()) {
return $i->expire($key, $ttl);
}
return false;
}
/**
"MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error."
}
public static function SetObject($key, $var, $expire = 86400) {
return static::Set($key, serialize($var), $expire);
}
public static function SetArray($key, $var, $expire = 86400) {
return static::Set($key, serialize($var), $expire);
}
public static function SetBoolean($key, $var, $expire = 86400) {
return static::Set($key, serialize($var), $expire);
}
public static function Set($key, $var, $expire = 86400) {
App::debugbarLog('debug', "Cache set: $key");
if ($i = static::getInstance()) {
$var = static::beforeSet($var);
return $expire > 0?
$i->setEx($key, $expire, $var) :
$i->set($key, $var);
}
return null;
}
public static function Exists(...$key):?bool {
if ($i = static::getInstance()) {
return $i->exists($key);
}
return null;
}
public static function Expire($key, $ttl) {
if ($i = static::getInstance()) {
return $i->expire($key, $ttl);
}
return false;
}
/**
"9991_12611_158103_2_schema"
86400
""" <script type="application/ld+json">{\n "@context": "http://schema.org",\n "@type": "Menu",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main",\n "mainEntityOfPage": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main",\n "inLanguage": "English",\n "name": "Main",\n "description": "Please note: requests for additional items or special preparation may incur an <b>extra charge</b> not calculated on your online order.",\n "hasMenuSection": [\n {\n "@type": "MenuSection",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials",\n "name": "Lunch Specials",\n "description": "From 11:00 am to 3:00 pm <br />\nServed with Pork Fried Rice & Soup or Soda <br /><br />\nLunch items are only shown on this page during lunch ordering hours",\n "hasMenuItem": [\n {\n "@type": "MenuItem",\n "name": "1. Broccoli with Garlic Sauce",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/1-broccoli-with-garlic-sauce",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.25",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "2. Vegetable with Garlic Sauce",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/2-vegetable-with-garlic-sauce",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.25",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "3. Chicken Chow Mein",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/3-chicken-chow-mein",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "3. Pork Chow Mein",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/3-pork-chow-mein",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "4. Chicken Lo Mein",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/4-chicken-lo-mein",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "4. Pork Lo Mein",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/4-pork-lo-mein",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "5. Roast Pork with Broccoli",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/5-roast-pork-with-broccoli",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "6. Chicken with Broccoli",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/6-chicken-with-broccoli",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "7. Beef with Broccoli",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/7-beef-with-broccoli",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "8. Chicken with Mixed Vegs.",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/8-chicken-with-mixed-vegs",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "9. Pork with Mixed Vegetables",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/9-pork-with-mixed-vegetables",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "10. Beef with Mixed Vegetables",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/10-beef-with-mixed-vegetables",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "11. Sweet & Sour Chicken",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/11-sweet-sour-chicken",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "12. Chicken with Cashew Nuts",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/12-chicken-with-cashew-nuts",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "13. Green Pepper Steak",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/13-green-pepper-steak",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "14. Pork Egg Foo Young",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/14-pork-egg-foo-young",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "14. Chicken Egg Foo Young",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/14-chicken-egg-foo-young",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "15. Crab Stick Broccoli",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/15-crab-stick-broccoli",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "16. Chicken with Garlic Sauce",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/16-chicken-with-garlic-sauce",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "17. Beef with Garlic Sauce",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/17-beef-with-garlic-sauce",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "18. Pork with Garlic Sauce",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/18-pork-with-garlic-sauce",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "19. Curry Beef",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/19-curry-beef",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "19. Curry Shrimp",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/19-curry-shrimp",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "20. Curry Chicken",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/20-curry-chicken",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "20. Curry Pork",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/20-curry-pork",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "21. Hunan Chicken",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/21-hunan-chicken",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "21a. Kung Pao Chicken",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/kung-pao-c21a",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "22. General Tso's Chicken",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/22-general-tsos-chicken",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "22a. Orange Chicken",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/22a-orange-chicken",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "23. Sesame Chicken",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/23-sesame-chicken",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "24. Moo Goo Gai Pan",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/24-moo-goo-gai-pan",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "25. Shrimp Chow Mein",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/25-shrimp-chow-mein",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "25. Beef Chow Mein",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/25-beef-chow-mein",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "26. Shrimp Lo Mein",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/26-shrimp-lo-mein",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "26. Beef Lo Mein",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/26-beef-lo-mein",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "28. Shrimp with Broccoli",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/28-shrimp-with-broccoli",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "29. Shrimp with Lobster Sauce",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/29-shrimp-with-lobster-sauce",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "30. Shrimp with Chinese Vegs.",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/30-shrimp-with-chinese-vegs",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "31. Shrimp with Garlic Sauce",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/31-shrimp-with-garlic-sauce",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "32. Hunan Shrimp",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/32-hunan-shrimp",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "32. Hunan Beef",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/32-hunan-beef",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "33. Seafood Delight",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/33-seafood-delight",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "34. Bar-B-Q Spare Ribs Tips",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/34-bar-b-q-spare-ribs-tips",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "35. Boneless Spare Ribs",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/35-boneless-spare-ribs",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "31. Shrimp with Garlic Sauce",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/31-shrimp-with-garlic-sauce-1",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "32. Hunan Shrimp",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/32-hunan-shrimp-1",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n }\n ]\n }\n ]\n }</script> """
if (count($prices) > 1 || $p->getDisplayName() != $i->getDisplayName()) {
$priceJson['eligibleQuantity'] = [
'@type' => 'QuantitativeValue',
'name' => $p->getDisplayName()
];
}
$itemJson['offers'][] = $priceJson;
}
}
$categoryJson['hasMenuItem'][] = $itemJson;
}
}
}
$json['hasMenuSection'][] = $categoryJson;
}
}
$schemaScript = '<script type="application/ld+json">'.json_encode($json, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES).'</script>';
Cache::Set($cacheKey, $schemaScript);
echo $schemaScript;
break;
}
};
$printSchema();
"9991_12611_158103_2_schema"
""" <script type="application/ld+json">{\n "@context": "http://schema.org",\n "@type": "Menu",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main",\n "mainEntityOfPage": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main",\n "inLanguage": "English",\n "name": "Main",\n "description": "Please note: requests for additional items or special preparation may incur an <b>extra charge</b> not calculated on your online order.",\n "hasMenuSection": [\n {\n "@type": "MenuSection",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials",\n "name": "Lunch Specials",\n "description": "From 11:00 am to 3:00 pm <br />\nServed with Pork Fried Rice & Soup or Soda <br /><br />\nLunch items are only shown on this page during lunch ordering hours",\n "hasMenuItem": [\n {\n "@type": "MenuItem",\n "name": "1. Broccoli with Garlic Sauce",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/1-broccoli-with-garlic-sauce",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.25",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "2. Vegetable with Garlic Sauce",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/2-vegetable-with-garlic-sauce",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.25",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "3. Chicken Chow Mein",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/3-chicken-chow-mein",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "3. Pork Chow Mein",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/3-pork-chow-mein",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "4. Chicken Lo Mein",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/4-chicken-lo-mein",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "4. Pork Lo Mein",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/4-pork-lo-mein",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "5. Roast Pork with Broccoli",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/5-roast-pork-with-broccoli",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "6. Chicken with Broccoli",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/6-chicken-with-broccoli",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "7. Beef with Broccoli",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/7-beef-with-broccoli",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "8. Chicken with Mixed Vegs.",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/8-chicken-with-mixed-vegs",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "9. Pork with Mixed Vegetables",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/9-pork-with-mixed-vegetables",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "10. Beef with Mixed Vegetables",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/10-beef-with-mixed-vegetables",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "11. Sweet & Sour Chicken",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/11-sweet-sour-chicken",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "12. Chicken with Cashew Nuts",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/12-chicken-with-cashew-nuts",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "13. Green Pepper Steak",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/13-green-pepper-steak",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "14. Pork Egg Foo Young",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/14-pork-egg-foo-young",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "14. Chicken Egg Foo Young",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/14-chicken-egg-foo-young",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "15. Crab Stick Broccoli",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/15-crab-stick-broccoli",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "16. Chicken with Garlic Sauce",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/16-chicken-with-garlic-sauce",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "17. Beef with Garlic Sauce",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/17-beef-with-garlic-sauce",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "18. Pork with Garlic Sauce",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/18-pork-with-garlic-sauce",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "19. Curry Beef",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/19-curry-beef",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "19. Curry Shrimp",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/19-curry-shrimp",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "20. Curry Chicken",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/20-curry-chicken",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "20. Curry Pork",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/20-curry-pork",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "21. Hunan Chicken",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/21-hunan-chicken",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "21a. Kung Pao Chicken",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/kung-pao-c21a",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "22. General Tso's Chicken",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/22-general-tsos-chicken",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "22a. Orange Chicken",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/22a-orange-chicken",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "23. Sesame Chicken",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/23-sesame-chicken",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "24. Moo Goo Gai Pan",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/24-moo-goo-gai-pan",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "25. Shrimp Chow Mein",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/25-shrimp-chow-mein",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "25. Beef Chow Mein",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/25-beef-chow-mein",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "26. Shrimp Lo Mein",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/26-shrimp-lo-mein",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "26. Beef Lo Mein",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/26-beef-lo-mein",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "28. Shrimp with Broccoli",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/28-shrimp-with-broccoli",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "29. Shrimp with Lobster Sauce",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/29-shrimp-with-lobster-sauce",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "30. Shrimp with Chinese Vegs.",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/30-shrimp-with-chinese-vegs",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "31. Shrimp with Garlic Sauce",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/31-shrimp-with-garlic-sauce",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "32. Hunan Shrimp",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/32-hunan-shrimp",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "32. Hunan Beef",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/32-hunan-beef",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "33. Seafood Delight",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/33-seafood-delight",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "34. Bar-B-Q Spare Ribs Tips",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/34-bar-b-q-spare-ribs-tips",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "35. Boneless Spare Ribs",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/35-boneless-spare-ribs",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "31. Shrimp with Garlic Sauce",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/31-shrimp-with-garlic-sauce-1",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n },\n {\n "@type": "MenuItem",\n "name": "32. Hunan Shrimp",\n "url": "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/32-hunan-shrimp-1",\n "offers": [\n {\n "@type": "Offer",\n "price": "6.75",\n "priceCurrency": "USD",\n "eligibleQuantity": {\n "@type": "QuantitativeValue",\n "name": "Lunch"\n }\n }\n ]\n }\n ]\n }\n ]\n }</script> """
}
$itemJson['offers'][] = $priceJson;
}
}
$categoryJson['hasMenuItem'][] = $itemJson;
}
}
}
$json['hasMenuSection'][] = $categoryJson;
}
}
$schemaScript = '<script type="application/ld+json">'.json_encode($json, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES).'</script>';
Cache::Set($cacheKey, $schemaScript);
echo $schemaScript;
break;
}
};
$printSchema();
<? } elseif (IS_EMBEDDED_INLINE) { ?>
const overlay = jQuery('<div id="overlay" style="position: fixed;top: 0;left: 0;width: 100%;height: 100%;background-color: #000;opacity: 0.9;z-index: 10000;"><div style="margin-top:10%;height:50px;font-weight:bold;font-size:150%;text-align:center;">Cookies are required for online ordering. <span style="color: #ffffff;">Click here to allow cookies</span>.<br><a href="<?=$account->getDomainUrl()?>" target="_blank" aria-label="Opens in new tab" title="Opens in new tab" id="notworking">Not working? Click here to open ordering in a new window.</a></div></div>');
overlay.appendTo(document.body).on('click', function (event) {
if (event.target.id != 'notworking') {
console.log('overlay clicked')
window.open("<?=$account->getDomainUrl()?>/setcookie", '_blank', 'width=20,height=20')
}
});
<? } ?>
} else {
Cookies.remove('test')
}
}
}
});
</script>
<? } ?>
<? include_once(CORE_PATH.'templates3.0/customer/schema.php');
include_once(CORE_PATH.'templates3.0/customer/google_analytics.php');
if (isset($account) && $account->getFacebookPixelId()) { ?>
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,'script','https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '<?=$account->getFacebookPixelId()?>');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=<?=$account->getFacebookPixelId()?>&ev=PageView&noscript=1"
/></noscript>
<!-- DO NOT MODIFY -->
<!-- End Facebook Pixel Code -->
<?
"/home/deploy/EHungry-3-boyan/Web/templates3.0/customer/schema.php"
}
if (!isset($cart) || !is_object($cart)) {
$GLOBALS['cart'] = \Cart::getCurrent();
}
//unset callback data in the event someone didn't hit the callback validation page
if (!in_array($_REQUEST['form'], ['checkout', 'nosuchpage', 'validatecallback', 'viewdeliveryzone'])) {
//TODO: probably need to add one more form here that is called ajax, callback seems to reset when it shouldnt
unset($_SESSION['validation_data']);
}
$locs = $account->getActiveRestaurants('position');
$tab = MainNavigationTab::getAllForAccount($account->getId());
include_once(CORE_PATH.'lib/helpers/customer3.0.php');
if (!in_array($_REQUEST['form'], $viewContentOnly)) {
App::debugbarTime('header');
include_once(getLayoutPartPath('header'));
App::debugbarTime('header');
}
App::debugbarTime("view '{$_REQUEST['form']}'");
$path = CORE_PATH.'view' . ($_REQUEST['_VERSION'] == 4 ? 4 : 3) . '.0/customer/'.$_REQUEST['form'].'.php';
if (is_readable($path)) {
include_once($path);
}
App::debugbarTime("view '{$_REQUEST['form']}'");
if (!in_array($_REQUEST['form'], $viewContentOnly)) {
App::debugbarTime('footer');
include_once(getLayoutPartPath('footer'));
App::debugbarTime('footer');
}
function getLayoutPartPath($part) {
if (isset($_REQUEST['_CORDOVA_APP'])) {
$cart = Cart::getCurrent();
"/home/deploy/EHungry-3-boyan/Web/templates3.0/customer/header.php"
App::startTime();
ErrorHandlers::register();
// Global.php is the core setup file for the application
App::debugbarTime('Global.php');
require(dirname(__DIR__) . '/PHP/Global.php');
App::debugbarTime('Global.php');
/** @var string $controller The main controller - defined at /PHP/Global.php */
App::debugbarTime('Sentry - controller');
ErrorHandlers::sentryInit($controller); //doesn't always do much - not every controller has a Sentry project
App::debugbarTime('Sentry - controller');
App::debugbarTime("controller: $controller");
apache_note('AppController', $controller);
if (file_exists(CORE_PATH."lib/helpers/$controller.php")) {
require CORE_PATH."lib/helpers/$controller.php";
}
require CORE_PATH."controllers/$controller.php";
App::debugbarTime("controller: $controller");
"/home/deploy/EHungry-3-boyan/Web/controllers/customer.php"
| Key | Value |
| aid | "restaurant/goodtastytoonewark/order/main/lunch-specials"
|
| Key | Value |
| PHPSESSID | "5ke05soqa37e7ja3bekdpmdlt8"
|
| Key | Value |
| loc | "en_US"
|
| customer_account_id | 26994
|
| cart | Cart {}
|
| restaurant_id | 9991
|
| app_banner_shown | true
|
| status | array:2 [ 1 => [] 2 => array:1 [ 0 => "The selected menu item has limited availability. It is not currently offered at this time." ] ] |
| menu_id | 12611
|
| Key | Value |
| UNIQUE_ID | "aZ02XjhV2U6_hBB_96kVXQAAAAA"
|
| SCRIPT_URL | "/restaurant/goodtastytoonewark/order/main/lunch-specials"
|
| SCRIPT_URI | "http://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials"
|
| HTTP_HOST | "www.springroll.com.3.boyan.ehungry.net"
|
| HTTP_X_REAL_IP | "216.73.216.114"
|
| HTTP_X_FORWARDED_FOR | "216.73.216.114"
|
| HTTP_X_CONFKEY | "Main_Domain:6462"
|
| HTTP_SCHEME | "https"
|
| HTTP_EHENV | "TODO"
|
| HTTP_CONNECTION | "close"
|
| HTTP_ACCEPT | "*/*"
|
| HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
|
| HTTP_ACCEPT_ENCODING | "gzip, br, zstd, deflate"
|
| HTTP_REFERER | "https://www.springroll.com.3.boyan.ehungry.net/restaurant/goodtastytoonewark/order/main/lunch-specials/32-hunan-beef"
|
| HTTP_COOKIE | "PHPSESSID=5ke05soqa37e7ja3bekdpmdlt8"
|
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
|
| SERVER_SIGNATURE | "" |
| SERVER_SOFTWARE | "Apache/2.4.66 () mod_wsgi/4.6.5 Python/3.7 PHP/7.2.34"
|
| SERVER_NAME | "www.springroll.com.3.boyan.ehungry.net"
|
| SERVER_ADDR | "127.0.0.1"
|
| SERVER_PORT | "80"
|
| REMOTE_ADDR | "127.0.0.1"
|
| DOCUMENT_ROOT | "/home/deploy/EHungry-3-boyan/Web"
|
| REQUEST_SCHEME | "http"
|
| CONTEXT_PREFIX | "" |
| CONTEXT_DOCUMENT_ROOT | "/home/deploy/EHungry-3-boyan/Web"
|
| SERVER_ADMIN | "root@localhost"
|
| SCRIPT_FILENAME | "/home/deploy/EHungry-3-boyan/Web/index.php"
|
| REMOTE_PORT | "58542"
|
| GATEWAY_INTERFACE | "CGI/1.1"
|
| SERVER_PROTOCOL | "HTTP/1.0"
|
| REQUEST_METHOD | "GET"
|
| QUERY_STRING | "aid=restaurant/goodtastytoonewark/order/main/lunch-specials"
|
| REQUEST_URI | "/restaurant/goodtastytoonewark/order/main/lunch-specials"
|
| SCRIPT_NAME | "/restaurant/goodtastytoonewark/order/main/lunch-specials"
|
| PHP_SELF | "/restaurant/goodtastytoonewark/order/main/lunch-specials"
|
| REQUEST_TIME_FLOAT | 1771910750.201
|
| REQUEST_TIME | 1771910750
|