View file vendor/php-di/php-di/src/Compiler/RequestedEntryHolder.php

File size: 360B
<?php

declare(strict_types=1);

namespace DI\Compiler;

use DI\Factory\RequestedEntry;

/**
 * @author Matthieu Napoli <[email protected]>
 */
class RequestedEntryHolder implements RequestedEntry
{
    public function __construct(
        private string $name,
    ) {
    }

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