src/States/Meta/SubscriptionList.php
public function getSubscription(Frame $frame)
    {
        foreach ($this->subscriptions as $subscription) {
            if ($subscription->belongsTo($frame)) {
                return $subscription;
            }
        }
        return false;
    }
public function getSubscription(Frame $frame)
    {
        foreach ($this->subscriptions as $subscription) {
            if ($subscription->belongsTo($frame)) {
                return $subscription;
            }
        }
        return false;
    }
public function getSubscription ( Frame $ frame ) { foreach ( $ this -> subscriptions as $ subscription ) { if ( $ subscription -> belongsTo ( $ frame ) ) { return $ subscription ; } } return false ; }
Returns the subscription the frame belongs to or false if no matching subscription was found.

@param Frame $frame
@return Subscription|false
Returns the subscription the frame belongs to or false if no matching subscription was found .