/** * @see Object\ClassDefinition\Data::getDataForQueryResource * @param Country $data * @param null|Model\Object\AbstractObject $object * @return integer|null */ public function getDataForQueryResource($data, $object = null) { if ($data instanceof PriceRule) { return $data->getId(); } return null; }
/** * @see Object\ClassDefinition\Data::getDataForQueryResource * @param Country $data * @param null|Model\Object\AbstractObject $object * @return integer|null */ public function getDataForQueryResource($data, $object = null) { if ($data instanceof Object\CoreShopOrderState) { return $data->getId(); } return null; }