protected function getVendor(OperationInterface $operation)
    {
        if ($operation->getMiraklId()) {
            return $this->vendorManager->findByMiraklId($operation->getMiraklId());
        }
        return $this->operator;
    }
protected function getVendor(OperationInterface $operation)
    {
        if ($operation->getMiraklId()) {
            return $this->vendorManager->findByMiraklId($operation->getMiraklId());
        }
        return $this->operator;
    }
protected function getVendor ( OperationInterface $ operation ) { if ( $ operation -> getMiraklId ( ) ) { return $ this -> vendorManager -> findByMiraklId ( $ operation -> getMiraklId ( ) ) ; } return $ this -> operator ; }
Return the right vendor for an operation

@param OperationInterface $operation

@return VendorInterface|null
Return the right vendor for an operation