PHP Google\Cloud\PubSub Topic::exists - 1 пример найден. Это лучшие примеры PHP кода для Google\Cloud\PubSub\Topic::exists, полученные из open source проектов. Вы можете ставить оценку каждому примеру, чтобы помочь нам улучшить качество примеров.
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';
}