<?php

namespace App\Http\Strategies\AuthVerification;

use App\Http\Enums\AuthStrategies;

class AuthVerificationStrategy
{
    public function strategy($strategy)
    {
        return match ($strategy) {
            AuthStrategies::Phone->value => $this->phone(),
        };
    }

    public function phone()
    {
        return new PhoneStrategy;
    }
}
