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

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

- Page: https://pluginprobe.com/plugins/give/4.16.9/code/src/Framework/FieldsAPI/Concerns/TapNode.php
- Raw: https://pluginprobe.com/plugins/give/4.16.9/raw/src/Framework/FieldsAPI/Concerns/TapNode.php
- Modified: 2022-08-18T18:28:20+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/TapNode.php#L10-L20`.

```php
<?php

namespace Give\Framework\FieldsAPI\Concerns;

/**
 * @since 2.22.0
 */
trait TapNode
{
    /**
     * @since 2.22.0
     *
     * @param callable $callback
     *
     * @return $this
     */
    public function tap(callable $callback)
    {
        call_user_func($callback, $this);

        return $this;
    }
}

```
