use Shopware\Bundle\StoreFrontBundle\Gateway\DBAL\Hydrator\Hydrator;
class EmotionElementHydrator extends Hydrator
{ /**
* @return Element
*/
public function hydrate(array
$data, array
$config =
[], array
$viewports =
[]) { $element =
$this->
assignData($data);
$this->
assignComponent($element,
$data);
$this->
assignConfig($element,
$config);
$this->
assignViewports($element,
$viewports);
return $element;
} /**
* @return Element
*/
private function assignData(array
$data) {