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
module-eav
Test
Unit
Model
Entity
Collection
VersionControl
AbstractCollectionStub.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Eav\Test\Unit\Model\Entity\Collection\VersionControl
;
7
11
class
AbstractCollectionStub
extends
\Magento\Eav\Model\Entity\Collection\VersionControl\AbstractCollection
12
{
19
public
function
getItemById
(
$id
)
20
{
21
if
(isset($this->_itemsById[
$id
])) {
22
return
$this->_itemsById[
$id
];
23
}
24
return
null
;
25
}
26
32
protected
function
_construct
()
33
{
34
return
$this->
_init
(\
Magento
\Framework\DataObject::class,
'test_entity_model'
);
35
}
36
}
Magento\Eav\Model\Entity\Collection\AbstractCollection\_init
_init($model, $entityModel)
Definition:
AbstractCollection.php:227
$id
$id
Definition:
fieldset.phtml:14
Magento\Eav\Test\Unit\Model\Entity\Collection\VersionControl\AbstractCollectionStub\getItemById
getItemById($id)
Definition:
AbstractCollectionStub.php:19
Magento\Eav\Test\Unit\Model\Entity\Collection\VersionControl\AbstractCollectionStub
Definition:
AbstractCollectionStub.php:11
Magento\Eav\Test\Unit\Model\Entity\Collection\VersionControl
Definition:
AbstractCollectionStub.php:6
Magento
Magento\Eav\Test\Unit\Model\Entity\Collection\VersionControl\AbstractCollectionStub\_construct
_construct()
Definition:
AbstractCollectionStub.php:32