Google\Cloud\PubSub Topic::exists in PHP: 1 esempio trovato. Questo è il miglior esempio reale in PHP per Google\Cloud\PubSub\Topic::exists, estratto da progetti open source. Lo puoi valutare, per aiutarci a migliorare la qualità dei nostri esempi.
Service errors will NOT bubble up from this method. It will always return
a boolean value. If you want to check for errors, use
{@see \Google\Cloud\PubSub\Topic::info()}.
Example:
if ($topic->exists()) {
echo 'Topic exists';
}