Completed
Pull Request — master (#1)
by Raymond
02:20
created

PersistentSubscriptionInfoFeedLink   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 13
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getValidRelations() 0 4 1
1
<?php
2
3
namespace RayRutjes\GetEventStore\Client\Http\Feed;
4
5
final class PersistentSubscriptionInfoFeedLink extends AbstractFeedLink
6
{
7
    const LINK_INFO = 'detail';
8
    const LINK_REPLAY_PARKED = 'replayParked';
9
10
    /**
11
     * @return array
12
     */
13
    protected function getValidRelations(): array
14
    {
15
        return [self::LINK_INFO, self::LINK_REPLAY_PARKED];
16
    }
17
}
18