# defender-security/5.4.0/lib/packages/DI/Compiler/RequestedEntryHolder.php

Defender Security – Malware Scanner, Login Security &amp; Firewall, version 5.4.0. 29 lines.

- Page: https://pluginprobe.com/plugins/defender-security/5.4.0/code/lib/packages/DI/Compiler/RequestedEntryHolder.php
- Raw: https://pluginprobe.com/plugins/defender-security/5.4.0/raw/lib/packages/DI/Compiler/RequestedEntryHolder.php
- Modified: 2022-11-07T09:31:42+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/defender-security/5.4.0/code/lib/packages/DI/Compiler/RequestedEntryHolder.php#L10-L20`.

```php
<?php

declare(strict_types=1);

namespace WPMU_DEV\Defender\Vendor\DI\Compiler;

use WPMU_DEV\Defender\Vendor\DI\Factory\RequestedEntry;

/**
 * @author Matthieu Napoli <matthieu@mnapoli.fr>
 */
class RequestedEntryHolder implements RequestedEntry
{
    /**
     * @var string
     */
    private $name;

    public function __construct(string $name)
    {
        $this->name = $name;
    }

    public function getName() : string
    {
        return $this->name;
    }
}

```
