/** * {@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"'); } }