1
0
mirror of synced 2025-01-09 02:37:09 +03:00
DeliveryModuleBundle/Model/Traits/ExtraDataTrait.php
2020-02-19 19:00:09 +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];
}
}
}