1
0
mirror of synced 2025-01-26 10:11:41 +03:00
DeliveryModuleBundle/Model/Traits/ExtraDataTrait.php

16 lines
298 B
PHP
Raw Permalink 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];
}
}
}