File "RequestedEntry.php"

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

<?php

declare(strict_types=1);

namespace DI\Factory;

/**
 * Represents the container entry that was requested.
 *
 * Implementations of this interface can be injected in factory parameters in order
 * to know what was the name of the requested entry.
 *
 * @api
 *
 * @author Matthieu Napoli <matthieu@mnapoli.fr>
 */
interface RequestedEntry
{
    /**
     * Returns the name of the entry that was requested by the container.
     */
    public function getName() : string;
}