• File: RandomGoal.php
  • Full Path: /home/bravrvjk/itiministry.org/wp-content/plugins/give/src/TestData/Framework/Provider/RandomGoal.php
  • Date Modified: 11/24/2021 4:55 AM
  • File size: 338 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace Give\TestData\Framework\Provider;

class RandomGoal extends RandomProvider
{

    /** @var array [ int, ... ] */
    protected $goals = [
        1000,
        2500,
        5000,
        10000,
        25000,
    ];

    public function __invoke()
    {
        return $this->faker->randomElement($this->goals);
    }
}