# give/4.16.9/src/TestData/Addons/RecurringDonations/PageFactory.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.16.9. 30 lines.

- Page: https://pluginprobe.com/plugins/give/4.16.9/code/src/TestData/Addons/RecurringDonations/PageFactory.php
- Raw: https://pluginprobe.com/plugins/give/4.16.9/raw/src/TestData/Addons/RecurringDonations/PageFactory.php
- Modified: 2021-11-23T23:55:18+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.16.9/code/src/TestData/Addons/RecurringDonations/PageFactory.php#L10-L20`.

```php
<?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',
        ];
    }
}

```
