1
0
mirror of synced 2025-01-25 01:31:41 +03:00
DeliveryModuleBundle/Model/Traits/ExtraDataTrait.php
2019-12-30 17:19:18 +03:00

16 lines
298 B
PHP

<?php
namespace RetailCrm\DeliveryModuleBundle\Model\Traits;
trait ExtraDataTrait
{
public function getExtraData($fieldCode)
{
if (!isset($this->extraData[$fieldCode])) {
return null;
} else {
return $this->extraData[$fieldCode];
}
}
}