File "RequestedEntryHolder.php"

Full Path: /home/attunedd/public_html/wp-content/plugins/wpide/vendor/php-di/php-di/src/Compiler/RequestedEntryHolder.php
File size: 425 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

declare(strict_types=1);

namespace DI\Compiler;

use 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;
    }
}