symbol = $value; // Check if the symbol exists in the Market Data table first (avoid API call) if (MarketData::find($this->symbol)) { return; } // Then check against market data provider if (! app(MarketDataInterface::class)->exists($value)) { $fail('The symbol provided ('.$this->symbol.') is not valid'); } } }