# give/4.16.9/src/Framework/FieldsAPI/Concerns/HasPlaceholder.php

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

- Page: https://pluginprobe.com/plugins/give/4.16.9/code/src/Framework/FieldsAPI/Concerns/HasPlaceholder.php
- Raw: https://pluginprobe.com/plugins/give/4.16.9/raw/src/Framework/FieldsAPI/Concerns/HasPlaceholder.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/Framework/FieldsAPI/Concerns/HasPlaceholder.php#L10-L20`.

```php
<?php

namespace Give\Framework\FieldsAPI\Concerns;

trait HasPlaceholder
{

    /** @var string */
    protected $placeholder;

    /**
     * Set the placeholder value.
     *
     * @param string $placeholder
     *
     * @return $this
     */
    public function placeholder($placeholder)
    {
        $this->placeholder = $placeholder;

        return $this;
    }

    /**
     * Get the placeholder value.
     *
     * @return string
     */
    public function getPlaceholder()
    {
        return $this->placeholder;
    }
}

```
