Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
framework
Stdlib
Cookie
PhpCookieReader.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Framework\Stdlib\Cookie
;
8
12
class
PhpCookieReader
implements
CookieReaderInterface
13
{
21
public
function
getCookie
(
$name
, $default =
null
)
22
{
23
return
(isset($_COOKIE[
$name
])) ? $_COOKIE[
$name
] : $default;
24
}
25
}
Magento\Framework\Stdlib\Cookie\PhpCookieReader\getCookie
getCookie($name, $default=null)
Definition:
PhpCookieReader.php:21
Magento\Framework\Stdlib\Cookie
Definition:
CookieMetadata.php:6
Magento\Framework\Stdlib\Cookie\CookieReaderInterface
Definition:
CookieReaderInterface.php:14
Magento\Framework\Stdlib\Cookie\PhpCookieReader
Definition:
PhpCookieReader.php:12
$name
if(!isset($_GET['name'])) $name
Definition:
log.php:14