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