# code-engine/0.3.9/vendor/nikic/php-parser/lib/PhpParser/Node/FunctionLike.php

Code Engine – PHP Snippets, AI Functions &amp; Automation for WordPress, version 0.3.9. 41 lines.

- Page: https://pluginprobe.com/plugins/code-engine/0.3.9/code/vendor/nikic/php-parser/lib/PhpParser/Node/FunctionLike.php
- Raw: https://pluginprobe.com/plugins/code-engine/0.3.9/raw/vendor/nikic/php-parser/lib/PhpParser/Node/FunctionLike.php
- Modified: 2024-12-27T01:13:06+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/code-engine/0.3.9/code/vendor/nikic/php-parser/lib/PhpParser/Node/FunctionLike.php#L10-L20`.

```php
<?php declare(strict_types=1);

namespace PhpParser\Node;

use PhpParser\Node;

interface FunctionLike extends Node {
    /**
     * Whether to return by reference
     */
    public function returnsByRef(): bool;

    /**
     * List of parameters
     *
     * @return Param[]
     */
    public function getParams(): array;

    /**
     * Get the declared return type or null
     *
     * @return null|Identifier|Name|ComplexType
     */
    public function getReturnType();

    /**
     * The function body
     *
     * @return Stmt[]|null
     */
    public function getStmts(): ?array;

    /**
     * Get PHP attribute groups.
     *
     * @return AttributeGroup[]
     */
    public function getAttrGroups(): array;
}

```
