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

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

- Page: https://pluginprobe.com/plugins/give/4.16.9/code/src/Framework/FieldsAPI/Concerns/HasName.php
- Raw: https://pluginprobe.com/plugins/give/4.16.9/raw/src/Framework/FieldsAPI/Concerns/HasName.php
- Modified: 2022-07-07T23:27:14+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/HasName.php#L10-L20`.

```php
<?php

namespace Give\Framework\FieldsAPI\Concerns;

trait HasName
{

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

    /**
     * Get the field’s name.
     */
    public function getName(): string
    {
        return $this->name;
    }
}

```
