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
Session
Test
Unit
_files
mock_session_regenerate_id.php
Go to the documentation of this file.
1
<?php
2
/***
3
* Copyright © Magento, Inc. All rights reserved.
4
* See COPYING.txt for license details.
5
*/
6
7
namespace
Magento\Framework\Session
;
8
9
use \Magento\Framework\Session\Test\Unit\SessionManagerTest;
10
17
function
session_regenerate_id
($var)
18
{
19
global
$mockPHPFunctions
;
20
if
(
$mockPHPFunctions
) {
21
SessionManagerTest::assertTrue($var);
22
return
true
;
23
}
24
return
call_user_func_array(
'\session_regenerate_id'
, func_get_args());
25
}
Magento\Framework\Session
$mockPHPFunctions
$mockPHPFunctions
Definition:
SessionManagerTest.php:8
Magento\Framework\Session\session_regenerate_id
session_regenerate_id($var)
Definition:
mock_session_regenerate_id.php:17