Magento Enterprise 1.12 cluster
Scaling Magento presentation with 60 slides and notes, which was then reviewed by Alan Storm.
const arr1 = [1,2,3] | |
const arr2 = [4,5,6] | |
const arr3 = [...arr1, ...arr2] //arr3 ==> [1,2,3,4,5,6] |
<?php | |
/** @var \Magento\Catalog\Api\ProductRepositoryInterface $productRepo */ | |
$productRepo = $objManager->get(\Magento\Catalog\Api\ProductRepositoryInterface::class); | |
/** @var \Magento\Catalog\Api\Data\ProductInterface $productData */ | |
$product = $productRepo->get('some_sku'); | |
/** @var \Magento\Catalog\Api\Data\ProductExtensionInterface $ext */ | |
$ext = $product->getExtensionAttributes(); |
<?php | |
public function loadRepository(RepositoryInterface $repo) | |
{ | |
foreach ($repo->getPackages() as $package) { /** @var PackageInterface $package */ | |
if ($package instanceof AliasPackage) { | |
continue; | |
} | |
switch ($package->getType()) { |
Scaling Magento presentation with 60 slides and notes, which was then reviewed by Alan Storm.