1
0
Fork 0
mirror of synced 2025-04-06 23:03:32 +03:00
DeliveryModuleBundle/Model/Traits/ExtraDataTrait.php
2019-12-30 17:19:18 +03:00

15 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];
}
}
}