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

namespace Give\TestData\Addons\RecurringDonations;

use Give\TestData\Framework\Factory;

/**
 * Class PageFactory
 * @package Give\TestData\RecurringDonations
 */
class PageFactory extends Factory
{
    /**
     * Donor definition
     *
     * @since 1.0.0
     * @return array
     */
    public function definition()
    {
        return [
            'post_title' => 'Recurring Donations Demonstration page',
            'post_content' => '[give_subscriptions]',
            'post_status' => 'publish',
            'post_author' => $this->randomAuthor(),
            'post_type' => 'page',
        ];
    }
}