1
0
mirror of synced 2025-01-24 17:21:43 +03:00
DeliveryModuleBundle/Model/Traits/ExtraDataTrait.php

16 lines
298 B
PHP
Raw Normal View History

2019-12-26 17:47:33 +03:00
<?php
namespace RetailCrm\DeliveryModuleBundle\Model\Traits;
trait ExtraDataTrait
{
public function getExtraData($fieldCode)
{
if (!isset($this->extraData[$fieldCode])) {
return null;
} else {
return $this->extraData[$fieldCode];
}
}
}