61 $sectionsData = $this->identifier->markSections($sectionsData, $sectionNames, $updateIds);
75 foreach ($sectionNames as $sectionName) {
76 if (!isset($this->sectionSourceMap[$sectionName])) {
79 $data[$sectionName] = $this->
get($this->sectionSourceMap[$sectionName])->getSectionData();
92 foreach ($this->sectionSourceMap as $sectionName => $sectionClass) {
93 $data[$sectionName] = $this->
get($sectionClass)->getSectionData();
107 $sectionSource = $this->objectManager->get(
$name);
111 __(
'%1 doesn\'t extend \Magento\Customer\CustomerData\SectionSourceInterface',
$name)
114 return $sectionSource;
getSectionsData(array $sectionNames=null, $updateIds=false)
getSectionDataByNames($sectionNames)
__construct(ObjectManagerInterface $objectManager, \Magento\Customer\CustomerData\Section\Identifier $identifier, array $sectionSourceMap=[])
if(!isset($_GET['name'])) $name