If the info is already cached on the object, it will return that result.
To fetch a fresh result, use {@see \Google\Cloud\PubSub\Subscription::reload()}.
Example:
$info = $subscription->info();
echo $info['name']; // projects/my-awesome-project/subscriptions/my-new-subscription