| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | readonly class ActivationFlowPreference implements ActivationFlowPreferenceInterface |
||
| 24 | { |
||
| 25 | private string $preference; |
||
| 26 | |||
| 27 | private function __construct(string $preference) |
||
| 28 | { |
||
| 29 | $this->preference = $preference; |
||
| 30 | } |
||
| 31 | |||
| 32 | public static function createRa(): self |
||
| 33 | { |
||
| 34 | return new self('ra'); |
||
| 35 | } |
||
| 36 | |||
| 37 | public static function createSelf(): self |
||
| 38 | { |
||
| 39 | return new self('self'); |
||
| 40 | } |
||
| 41 | |||
| 42 | |||
| 43 | public function __toString(): string |
||
| 46 | } |
||
| 47 | } |
||
| 48 |