示例#1
0
 /**
  * {@inheritdoc}
  */
 protected function validateConfiguration()
 {
     parent::validateConfiguration();
     if (!$this->transport instanceof MagentoTransportInterface) {
         throw new \LogicException('Option "transport" should implement "MagentoTransportInterface"');
     }
 }
 /**
  * {@inheritdoc}
  */
 protected function validateConfiguration()
 {
     parent::validateConfiguration();
     if (!$this->transport instanceof \Integration\ZohoInvoicingBundle\Provider\Transport\ZohoTransportInterface) {
         throw new \LogicException('Option "transport" should implement "ZohoTransportInterface"');
     }
 }